Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Inline getGreeting()

  • Loading branch information...
commit 2d648e2e4f59357cc9683bacf32002ec90590954 1 parent f7d4cd9
@jsievers authored
View
6 exercises/Exercise_02_Add_Test_Fragment/tychodemo.bundle/src/tychodemo/bundle/handlers/AboutHandler.java
@@ -20,10 +20,6 @@
public class AboutHandler {
@Execute
public void execute(@Named(IServiceConstants.ACTIVE_SHELL) Shell shell) {
- MessageDialog.openInformation(shell, "About", getGreeting());
- }
-
- String getGreeting() {
- return "Hello Tycho Demo RCP!";
+ MessageDialog.openInformation(shell, "About", "Hello Tycho Demo RCP!");
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.