google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

not having good style in generated code for extraCode #568

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When we have a method which has code in its body, there is no stable space for 
the first line of code. This causes not to have a good-look generated code. It 
is also worse when we have multiple language.e.g.
class A{
    String read() 
    Java{
        /*A*/
        return "A";
    }
    boolean write(String data)
    Java{
        /*A*/
        return true;
    }   
}
--------------------------
generated code
--------------------------
  public boolean write(String data){

/*A*/
        return true;
  }

This should be like this

  public boolean write(String data){
        /*A*/
            return true;
  }

This issues exists for all generated codes.

Original issue reported on code.google.com by V.Abdel...@gmail.com on 22 May 2014 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 10 Jun 2014 at 2:57