forked from amazingfate/loongoffice
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:
committed by
Fridrich Strba
parent
4f6adb0585
commit
68b9fb0aae
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user