Permalink
Browse files

Inline getGreeting()

  • Loading branch information...
1 parent f7d4cd9 commit 2d648e2e4f59357cc9683bacf32002ec90590954 @jsievers committed Mar 23, 2012
@@ -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!");
}
}

0 comments on commit 2d648e2

Please sign in to comment.