Skip to content

Commit

Permalink
Fixed build, updated JTcl version and added copyright notices
Browse files Browse the repository at this point in the history
  • Loading branch information
landro committed Oct 29, 2013
1 parent 4b8bc5a commit cedd7aa
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
17 changes: 15 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,24 @@
<groupId>com.testcl</groupId>
<artifactId>jtcl-irule</artifactId>
<packaging>jar</packaging>
<version>0.8-SNAPSHOT</version>
<version>0.9-SNAPSHOT</version>
<url>http://testcl.com</url>
<name>jtcl-irule</name>
<description>An extension which adds proprietary iRule operators to JTcl</description>
<developers>
<developer>
<name>Sebastian Brzuzek</name>
</developer>
<developer>
<name>Stefan Magnus Landrø</name>
<email>[email protected]</email>
<organization>BEKK Consulting AS</organization>
<organizationUrl>http://open.bekk.no/</organizationUrl>
<timezone>Europe/Oslo</timezone>
</developer>
</developers>
<properties>
<jtcl.version>2.3.0</jtcl.version>
<jtcl.version>2.6.0</jtcl.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/tcl/lang/Expression.java
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ public static void evalBinaryOperator(final Interp interp, final int operator, f
value.setIntValue(((value.getIntValue() != 0) && (value2.getIntValue() != 0)));
break;
case OR:
case ALIASOR
case ALIASOR:
if (t2 == ExprValue.DOUBLE) {
value2.setIntValue(value2.getDoubleValue() != 0.0);
}
Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/tcl/lang/cmd/expr.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#
# Copyright (c) 1996-1997 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 by Scriptics Corporation.
# Copyright (c) 2012 Stefan Magnus Landr�
# Copyright (c) 2012-2013 Stefan Magnus Landrø
# Copyright (c) 2013 Sebastian Brzuzek
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Expand Down

0 comments on commit cedd7aa

Please sign in to comment.