mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
formatting cleanup
This commit is contained in:
parent
fcafd8120a
commit
dc59bf47e4
102 changed files with 498 additions and 498 deletions
|
@ -33,11 +33,11 @@ public class FB2AnnotationReader extends ZLXMLReaderAdapter {
|
|||
|
||||
public FB2AnnotationReader() {
|
||||
}
|
||||
|
||||
|
||||
public boolean dontCacheAttributeValues() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public String readAnnotation(ZLFile file) {
|
||||
myReadState = READ_NOTHING;
|
||||
myBuffer.delete(0, myBuffer.length());
|
||||
|
@ -69,7 +69,7 @@ public class FB2AnnotationReader extends ZLXMLReaderAdapter {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public boolean endElementHandler(String tag) {
|
||||
if (myReadState != READ_ANNOTATION) {
|
||||
return false;
|
||||
|
@ -87,7 +87,7 @@ public class FB2AnnotationReader extends ZLXMLReaderAdapter {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public void characterDataHandler(char[] data, int start, int length) {
|
||||
if (myReadState == READ_ANNOTATION) {
|
||||
myBuffer.append(new String(data, start, length).trim());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue