Formatting issue in generated Java code #985

Open
AdamBJ opened this Issue Jan 31, 2017 · 1 comment

Projects

None yet

1 participant

@AdamBJ
Contributor
AdamBJ commented Jan 31, 2017

Brief Description

A space is being added between function qualifiers in generated Java code.

Minimum Steps to Reproduce

Put the following into Umple online:

class Test {
  public static void Main()
  {
  }
}

Look at the generated output. You'll see that there's an unnecessary space between static and void.

@AdamBJ
Contributor
AdamBJ commented Jan 31, 2017 edited

The reason I assigned these a "Med" tag is because fixing this issue will require modifying a lot of test files. I suggest that whoever ends up working on this issue does it via regex. Notepad++ has an excellent find/replace in files feature that accepts regex as the find and replace patterns.

class_MethodDeclaration.ump looks like the place to make the code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment