diff options
author | nsandonato | 2010-10-29 21:36:54 +0000 |
---|---|---|
committer | nsandonato | 2010-10-29 21:36:54 +0000 |
commit | c5f828ed8c87d45d5586972047790f5a70f348da (patch) | |
tree | 417845c9f0efc109d0bce9092b6450d226f37abc /bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst | |
parent | 0a2eae98461e80ce4f39c54a5b23d3256b20d44a (diff) | |
download | webtools.sourceediting-c5f828ed8c87d45d5586972047790f5a70f348da.tar.gz webtools.sourceediting-c5f828ed8c87d45d5586972047790f5a70f348da.tar.xz webtools.sourceediting-c5f828ed8c87d45d5586972047790f5a70f348da.zip |
[329094] Cleanup unread fields/variables that are only incremented/decremented
Diffstat (limited to 'bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst')
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/DTDTokenizer.java b/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/DTDTokenizer.java index 96bb49973f..7ecc2d52ec 100644 --- a/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/DTDTokenizer.java +++ b/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/DTDTokenizer.java @@ -384,7 +384,7 @@ public class DTDTokenizer { private int yy_markedPos; /** the textposition at the last state to be included in yytext */ - private int yy_pushbackPos; + //private int yy_pushbackPos; /** the current text position in the buffer */ private int yy_currentPos; @@ -518,7 +518,7 @@ public class DTDTokenizer { yy_endRead-= yy_startRead; yy_currentPos-= yy_startRead; yy_markedPos-= yy_startRead; - yy_pushbackPos-= yy_startRead; + //yy_pushbackPos-= yy_startRead; yy_startRead = 0; } @@ -571,7 +571,7 @@ public class DTDTokenizer { yy_reader = reader; yy_atEOF = false; yy_endRead = yy_startRead = 0; - yy_currentPos = yy_markedPos = yy_pushbackPos = 0; + yy_currentPos = yy_markedPos = 0;//yy_pushbackPos = 0; yyline = yychar = yycolumn = 0; yy_lexical_state = YYINITIAL; } diff --git a/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/dtdskeleton b/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/dtdskeleton index 3dbe086560..f686e8b4b7 100644 --- a/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/dtdskeleton +++ b/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/internal/tokenizer/dtdskeleton @@ -40,7 +40,7 @@ private int yy_markedPos; /** the textposition at the last state to be included in yytext */ - private int yy_pushbackPos; + //private int yy_pushbackPos; /** the current text position in the buffer */ private int yy_currentPos; |