/[classpath]/gjdoc/src/gnu/classpath/tools/gjdoc/Parser.java
ViewVC logotype

Diff of /gjdoc/src/gnu/classpath/tools/gjdoc/Parser.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by julian, Fri Dec 10 14:47:01 2004 UTC revision 1.15 by julian, Fri Dec 10 15:16:32 2004 UTC
# Line 107  import gnu.classpath.tools.NotifyingInpu Line 107  import gnu.classpath.tools.NotifyingInpu
107              parser.setLastComment(new String(source, startIndex, endIndex-startIndex));              parser.setLastComment(new String(source, startIndex, endIndex-startIndex));
108           }           }
109           else if (null == parser.getBoilerplateComment()) {           else if (null == parser.getBoilerplateComment()) {
110              parser.setBoilerplateComment(new String(source, startIndex, endIndex-startIndex));              String boilerplateComment = new String(source, startIndex + 2, endIndex-startIndex - 4);
111                if (boilerplateComment.toLowerCase().indexOf("copyright") >= 0) {
112                   parser.setBoilerplateComment(boilerplateComment);
113                }
114           }           }
115    
116           return endIndex;           return endIndex;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26