Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4283a5b

Browse files
committed
change int compare to string
1 parent3ea6eaf commit4283a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/java/TLE.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void parseLines(String line1, String line2)
267267

268268

269269
objectID =line1.substring(2,7).trim();
270-
if(objectID !=line2.substring(2,7).trim())addParseError("ids don't match");
270+
if(!objectID.equals(line2.substring(2,7).trim()))addParseError("ids don't match");
271271

272272
while(objectID.startsWith("0"))objectID =objectID.substring(1);
273273

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp