From: donghee yang Date: Wed, 3 Apr 2013 02:06:17 +0000 (+0900) Subject: [Tiutle] Remove warning for using brace X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13f99f53c3b614045ad504a00c6146bb8b806bd0;p=sdk%2Ftools%2Fsdk-build.git [Tiutle] Remove warning for using brace --- diff --git a/src/common/PropertyParser.rb b/src/common/PropertyParser.rb index b383ff2..a620f9d 100644 --- a/src/common/PropertyParser.rb +++ b/src/common/PropertyParser.rb @@ -2,9 +2,9 @@ require 'model/Property' class PropertyParser - attr_accessor (:seperate) + attr_accessor :seperate def initialize(seperate) - if (seperate.nil?()) + if seperate.nil? then @seperate = ":"; else @seperate = seperate; @@ -18,7 +18,7 @@ class PropertyParser f = File.open(filePath,"r"); f.each_line do |line| - if (line.empty? || line.eql?("\n")) then + if line.empty? || line.eql?("\n") then if not properties.empty?() then propertySection.push(properties); properties = Array.new @@ -36,4 +36,4 @@ class PropertyParser return propertySection; end -end \ No newline at end of file +end