Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1254

calling setStatic(true) on a static method add keyword "static" twice

    Details

      Description

      Testclass:

      class Tester() {
        static void testit() {
        }
      }
      

      Forge:

      Method<?> method = entityclass.getMethod("testit");
      method.setStatic(true);
      // save the class
      

      yields to:

      static static void testit() {}
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                selrahal Salem Elrahal
                Reporter:
                mikes2221 Michael Schwartz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: