mrglavas 2005/05/09 19:36:05
Modified: java/src/org/apache/xerces/parsers DOMParserImpl.java
Log:
Access static methods in a static way.
Revision Changes Path
1.32 +11 -15
xml-xerces/java/src/org/apache/xerces/parsers/DOMParserImpl.java
Index: DOMParserImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/DOMParserImpl.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- DOMParserImpl.java 9 May 2005 18:35:38 -0000 1.31
+++ DOMParserImpl.java 10 May 2005 02:36:05 -0000 1.32
@@ -862,19 +862,17 @@
fBusy = true;
parse (source);
fBusy = false;
- if(abortNow && currentThread.isInterrupted())
- {
+ if (abortNow && currentThread.isInterrupted()) {
//reset interrupt state
abortNow = false;
- currentThread.interrupted();
+ Thread.interrupted();
}
} catch (Exception e){
fBusy = false;
- if(abortNow && currentThread.isInterrupted())
- {
- currentThread.interrupted();
+ if (abortNow && currentThread.isInterrupted()) {
+ Thread.interrupted();
}
- if(abortNow) {
+ if (abortNow) {
abortNow = false;
restoreHandlers();
return null;
@@ -919,19 +917,17 @@
fBusy = true;
parse (xmlInputSource);
fBusy = false;
- if(abortNow && currentThread.isInterrupted())
- {
+ if (abortNow && currentThread.isInterrupted()) {
//reset interrupt state
abortNow = false;
- currentThread.interrupted();
+ Thread.interrupted();
}
} catch (Exception e) {
fBusy = false;
- if(abortNow && currentThread.isInterrupted())
- {
- currentThread.interrupted();
+ if (abortNow && currentThread.isInterrupted()) {
+ Thread.interrupted();
}
- if(abortNow) {
+ if (abortNow) {
abortNow = false;
restoreHandlers();
return null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]