Java cleanup - remove unnecessary casts in the ODK code

Change-Id: I1ab8ad5182444fc3eebd2349135a0240ebbe0fd4
Reviewed-on: https://gerrit.libreoffice.org/3566
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
This commit is contained in:
Noel Grandin
2013-04-23 09:01:41 +02:00
committed by Fridrich Strba
parent 4f6adb0585
commit 68b9fb0aae
38 changed files with 200 additions and 204 deletions

View File

@ -364,9 +364,9 @@ public class SourceCodeGenerator {
private class HeaderStatements extends Vector<String> {
public boolean contains(String _oElement){
String sCompName = (String) _oElement;
String sCompName = _oElement;
for (int i = 0; i < this.size(); i++){
String sElement = (String) this.get(i);
String sElement = this.get(i);
if (sElement.equals(sCompName)){
return true;
}