Skip to content

Commit 4a2f8e1

Browse files
committed
code cleanups and fixing part of #2799
1 parent 223e234 commit 4a2f8e1

File tree

4 files changed

+269
-248
lines changed

4 files changed

+269
-248
lines changed

java/src/processing/mode/java/pdex/CompilationChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ private void compileMeQuitely(ICompilationUnit unit, Map<String, String> compile
374374
prob = new IProblem[problems.size()];
375375
int count = 0;
376376
for (Iterator<IProblem> it = problems.iterator(); it.hasNext();) {
377-
IProblem problem = (IProblem) it.next();
377+
IProblem problem = it.next();
378378
prob[count++] = problem;
379379
}
380380
}

java/src/processing/mode/java/pdex/JavadocHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public boolean accept(File file) {
6666
String methodName = docFile.getName().substring(0, docFile.getName().indexOf('_'));
6767
//System.out.println(methodName);
6868
for (Iterator<Element> it = elm.iterator(); it.hasNext();) {
69-
Element ele = (Element) it.next();
69+
Element ele = it.next();
7070
msg = "<html><body> <strong><div style=\"width: 300px; text-justification: justify;\"></strong><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"ref-item\">"
7171
+ ele.html() + "</table></div></html></body></html>";
7272
//mat.replaceAll("");

0 commit comments

Comments
 (0)