@Test public void testNonNullName() { String name; assertEquals("", getNonNullName(null)); name = ""; assertEquals(name, getNonNullName(name)); name = "Some name"; assertEquals(name, getNonNullName(name)); }
static String getNonNullName(String name) { return name == null ? "" : name; }
MultipleInstanceVariableEditorPresenter extends FieldEditorPresenter<String> { static String getNonNullName(String name) { return name == null ? "" : name; } }
MultipleInstanceVariableEditorPresenter extends FieldEditorPresenter<String> { static String getNonNullName(String name) { return name == null ? "" : name; } @Inject  MultipleInstanceVariableEditorPresenter(final View view,
                                                   final SessionManager sessionManager); }
MultipleInstanceVariableEditorPresenter extends FieldEditorPresenter<String> { static String getNonNullName(String name) { return name == null ? "" : name; } @Inject  MultipleInstanceVariableEditorPresenter(final View view,
                                                   final SessionManager sessionManager); @PostConstruct void init(); @Override void setValue(String value); List<String> getSimpleDataTypes(); @Override void setReadOnly(boolean readOnly); void onVariableChange(); Path getDiagramPath(); static Map<String, String> getMapDataTypeNamesToDisplayNames(); }
MultipleInstanceVariableEditorPresenter extends FieldEditorPresenter<String> { static String getNonNullName(String name) { return name == null ? "" : name; } @Inject  MultipleInstanceVariableEditorPresenter(final View view,
                                                   final SessionManager sessionManager); @PostConstruct void init(); @Override void setValue(String value); List<String> getSimpleDataTypes(); @Override void setReadOnly(boolean readOnly); void onVariableChange(); Path getDiagramPath(); static Map<String, String> getMapDataTypeNamesToDisplayNames();  }