Community
Participate
Working Groups
Problems: * missing @Overrides * unnecessary casts * unused imports * missing synchronized keywords * unnecessary null checks * javadoc @link compilation errors
New Gerrit change created: https://git.eclipse.org/r/110446
With this PR [1], I can build all of javaee with Tycho 1.0: mvn clean install -V -B -Dmaven.test.skip=true -DskipWithIssues=false -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dsurefire.timeout=1800 -ff -Dplatform-repo.url=http://download.eclipse.org/eclipse/updates/4.8-I-builds/ -Dwebtools.buildSite=http://download.eclipse.org/webtools/downloads/drops/R3.10.0/I-3.10.0-20171004000115/ -Dtycho.version=1.0.0 -Dtycho-extras.version=1.0.0 -Pintegration | tee log.txt [1] https://git.eclipse.org/r/110446
Gerrit change https://git.eclipse.org/r/110446 was merged to [master]. Commit: http://git.eclipse.org/c/jeetools/webtools.javaee.git/commit/?id=6bd0409a1d1fc8dc81fa697fd41eb5b0b95b776a
Nick, you broke org.eclipse.jst.jee/org.eclipse.jst.jee.ui.internal.navigator.ConnectorLabelProvider ... it used to concatenate a message string with the results from a ?: operation... now it takes the string and does a null check and an && operation... so no more concatenation, we lose the main message!
This should be closed
(In reply to Carl Anderson from comment #4) > Nick, you broke > org.eclipse.jst.jee/org.eclipse.jst.jee.ui.internal.navigator. > ConnectorLabelProvider ... it used to concatenate a message string with the > results from a ?: operation... now it takes the string and does a null check > and an && operation... so no more concatenation, we lose the main message! Did this get fixed, or did this issue get closed too soon?
I don't see any commits in https://git.eclipse.org/c/jeetools/webtools.javaee.git/log/ after my merge/commit. So I'm reopening this. Not sure how to fix it -- can someone suggest a fix?
@Carl, can you provide more details on what was broken and how to fix it? Or provide a PR? or just merge in a fix? Thanks!
Created attachment 271717 [details] ConnectorLabelProvider Diff @Nick Lines 24, 26, and 28 in ConnectorLabelProvider were changed from concatenating two strings and returning the restult, to checking if the strings are null and only returning the second half of the concatenated string. See the attached diff for details
New Gerrit change created: https://git.eclipse.org/r/113032
Gerrit change https://git.eclipse.org/r/113032 was merged to [master]. Commit: http://git.eclipse.org/c/jeetools/webtools.javaee.git/commit/?id=7cfeaaebc6c6448dd673f9d4d63982d25a39dce9
Closing since the error message concatenation issue has been resolved