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

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

    XMLWordPrintable

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() {}
      

      Attachments

        Activity

          People

            selrahal Salem Elrahal (Inactive)
            mikes2221 Michael Schwartz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: