Community
Participate
Working Groups
Created attachment 270230 [details] Editor-warning I have this since long time, String.format calls do give Null warnings. They are only shown in the Java editor, but not in the package explorer. return String.format("que%03d", var ); Could it be problem because of the variadic args? The String.eaa: format (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;[Ljava/lang/Object;)L1java/lang/String;
Hm, same i can so for this code: @NonNull String s = Long.toString(1L); And there is the Long.eea: class java/lang/Long toString (J)Ljava/lang/String; (J)L1java/lang/String;
New Gerrit change created: https://git.eclipse.org/r/128081
Gerrit change https://git.eclipse.org/r/128081 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=628c525dc15e377d367b0f86e05d1476d7245a6e
(In reply to Eclipse Genie from comment #3) > Gerrit change https://git.eclipse.org/r/128081 was merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?id=628c525dc15e377d367b0f86e05d1476d7245a6e I released a regression test, demonstrating that this works fine for me. Feel free to re-open, if you can provide a test that still fails on Photon or newer.
Verified for Eclipse 4.9 RC1 with Build id: I20180827-2000 (worksforme)