Skip to content

Commit

Permalink
Address AddEmptyString and AvoidCalendarDateCreation PMD Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenporras committed Nov 3, 2023
1 parent d48d94a commit 8aadbdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 82 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@
*/
public class GeneratorNaming extends XtextGeneratorNaming {
private static final String PACKAGE_SEPARATOR = "."; //$NON-NLS-1$
private static final String TESTS_PACKAGE_SUFFIX = ""; //$NON-NLS-1$
private static final String IDE_PACKAGE_SUFFIX = PACKAGE_SEPARATOR + "ide"; //$NON-NLS-1$
private static final String UI_PACKAGE_SUFFIX = PACKAGE_SEPARATOR + "ui"; //$NON-NLS-1$

@Override
public String getRuntimeTestBasePackage(final Grammar grammar) {
return getRuntimeBasePackage(grammar) + TESTS_PACKAGE_SUFFIX;
return getRuntimeBasePackage(grammar);
}

@Override
Expand All @@ -36,7 +35,7 @@ public String getGenericIdeBasePackage(final Grammar grammar) {

@Override
public String getGenericIdeTestBasePackage(final Grammar grammar) {
return getGenericIdeBasePackage(grammar) + TESTS_PACKAGE_SUFFIX;
return getGenericIdeBasePackage(grammar);
}

@Override
Expand All @@ -46,6 +45,6 @@ public String getEclipsePluginBasePackage(final Grammar grammar) {

@Override
public String getEclipsePluginTestBasePackage(final Grammar grammar) {
return getEclipsePluginBasePackage(grammar) + TESTS_PACKAGE_SUFFIX;
return getEclipsePluginBasePackage(grammar);
}
}

0 comments on commit 8aadbdf

Please sign in to comment.