Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
wiztigers committed Jul 7, 2015
1 parent 65f32a4 commit eadf874
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions TypeCobol/Compiler/Scanner/LiteralValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,7 @@ public class IntegerLiteralValue : LiteralValue
{
public IntegerLiteralValue(string sign, string number) : base(LiteralValueType.Integer)
{
if(!String.IsNullOrEmpty(sign))
{
HasSign = true;
}
else
{
HasSign = false;
}
HasSign = !String.IsNullOrEmpty(sign);
Number = Int64.Parse(number);
if(sign == "-")
{
Expand Down

0 comments on commit eadf874

Please sign in to comment.