Skip to content

Commit

Permalink
bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-m committed Nov 11, 2021
1 parent e8ae2c2 commit 3b417d1
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ It is based on [[https://github.com/chocoteam/choco-solver][choco-solver]] which
<dependency>
<groupId>fr.univ-cotedazur</groupId>
<artifactId>cryptator</artifactId>
<version>0.4.0-SNAPSHOT</version>
<version>0.4.0</version>
</dependency>
#+END_EXAMPLE

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<groupId>fr.univ-cotedazur</groupId>
<artifactId>cryptator</artifactId>
<packaging>jar</packaging>
<version>0.4.0-SNAPSHOT</version>
<version>0.4.0</version>
<name>cryptator</name>
<description>Constraint-based cryptarithm solver</description>
<url>https://github.com/arnaud-m/cryptator</url>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/cryptator/CryptaOperator.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

import org.chocosolver.solver.expression.discrete.arithmetic.ArExpression;

/**
* @see https://en.wikipedia.org/wiki/Relational_operator
*/
public enum CryptaOperator {
ADD("+", (a, b) -> a.add(b), (a, b) -> a.add(b)),
SUB("-", (a, b) -> a.subtract(b), (a, b) -> a.sub(b)),
Expand Down
8 changes: 8 additions & 0 deletions src/test/java/cryptator/GenerateTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* This file is part of cryptator, https://github.com/arnaud-m/cryptator
*
* Copyright (c) 2021, Université Côte d'Azur. All rights reserved.
*
* Licensed under the BSD 3-clause license.
* See LICENSE file in the project root for full license information.
*/
package cryptator;

import static org.junit.Assert.assertEquals;
Expand Down
8 changes: 8 additions & 0 deletions src/test/java/cryptator/WordArrayTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* This file is part of cryptator, https://github.com/arnaud-m/cryptator
*
* Copyright (c) 2021, Université Côte d'Azur. All rights reserved.
*
* Licensed under the BSD 3-clause license.
* See LICENSE file in the project root for full license information.
*/
package cryptator;

import static org.junit.Assert.assertArrayEquals;
Expand Down

0 comments on commit 3b417d1

Please sign in to comment.