C#, Fixed ruby property script to remove trailing spaces 89/108689/2
authorNick Holland <nick.holland@partner.samsung.com>
Thu, 5 Jan 2017 11:09:14 +0000 (11:09 +0000)
committerRichard Huang <r.huang@samsung.com>
Fri, 6 Jan 2017 10:28:19 +0000 (02:28 -0800)
Change-Id: I953453200d127fc98858007049fb7dd835196655

plugins/dali-swig/property-wrapper.rb

index 4abc698..fe2e91c 100755 (executable)
@@ -335,9 +335,9 @@ def writeCSharpData
               hasChildProperties = true
             end
 
-            property.csharpGetter ="  public #{propertyType} #{property.name} \n"\
-                     "  { \n"\
-                     "    get \n" \
+            property.csharpGetter ="  public #{propertyType} #{property.name}\n"\
+                     "  {\n"\
+                     "    get\n" \
                      "    {\n"\
                      "      #{tempDeclaration}\n"\
                      "      GetProperty( #{propertyName}).Get( #{propertyArg} temp );\n"\
@@ -346,8 +346,8 @@ def writeCSharpData
 
             if property.writable
                   #text.SetProperty(TextLabel.Property.HORIZONTAL_ALIGNMENT, new Property.Value("CENTER"));
-                  property.csharpSetter = "    set \n" \
-                         "    { \n"\
+                  property.csharpSetter = "    set\n" \
+                         "    {\n"\
                          "      SetProperty( #{propertyName}, new Dali.Property.Value( value ) );\n" \
                          "    }\n"\
                          "  }\n"