Skip to content

Commit 816489d

Browse files
committed
Remove unnecessary cast
1 parent b3168e8 commit 816489d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mtk2garmin-converter/src/main/java/org/hylly/mtk2garmin/StringTable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class StringTable {
1414

1515
int getStringId(String stringKey) {
1616
if (!this.stringTableTranslate.containsKey(stringKey)) {
17-
int newIndex = (int) this.stringTable.size();
17+
int newIndex = this.stringTable.size();
1818
this.stringTableTranslate.put(stringKey, newIndex);
1919
this.stringTable.add(newIndex, stringKey);
2020
return newIndex;

0 commit comments

Comments
 (0)