Skip to content

Commit e0e52f5

Browse files
Issue21
1 parent 51ba6fb commit e0e52f5

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
.settings
44
target
55
*.iml
6+
.idea

pom.xml

+26-26
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
<artifactId>oss-parent</artifactId>
77
<version>5</version>
88
</parent>
9-
<groupId>uk.com.robust-it</groupId>
9+
<groupId>com.rits</groupId>
1010
<artifactId>cloning</artifactId>
1111
<packaging>bundle</packaging>
1212
<version>1.9.1-SNAPSHOT</version>
1313
<name>cloning</name>
1414
<url>https://code.google.com/p/cloning/</url>
1515
<description><![CDATA[
16-
The cloning library is a small, open source (Apache
17-
licensed) Java library which deep-clones objects. The
18-
objects do not have to implement the Cloneable
19-
interface. Effectivelly, this library can clone ANY
20-
Java object. It can be used i.e. in cache
21-
implementations, if you don't want the cached object
22-
to be modified or whenever you want to create a deep
23-
copy of an object.
16+
The cloning library is a small, open source (Apache
17+
licensed) Java library which deep-clones objects. The
18+
objects do not have to implement the Cloneable
19+
interface. Effectively, this library can clone ANY
20+
Java object. It can be used i.e. in cache
21+
implementations, if you don't want the cached object
22+
to be modified or whenever you want to create a deep
23+
copy of an object.
2424
25-
Sample usage:
25+
Sample usage:
2626
27-
You can create a single instance of cloner and use it throughout your application. i.e.
28-
Cloner cloner=new Cloner();
29-
...
30-
cloner.deepClone(o);
27+
You can create a single instance of cloner and use it throughout your application. i.e.
28+
Cloner cloner=new Cloner();
29+
...
30+
cloner.deepClone(o);
3131
32-
Please check http://robust-it.co.uk/clone/ for more examples (spring integration, immutable objects etc)
33-
]]></description>
32+
Please check http://robust-it.co.uk/clone/ for more examples (spring integration, immutable objects etc)
33+
]]></description>
3434
<licenses>
3535
<license>
3636
<name>Apache License, Version 2.0</name>
@@ -53,15 +53,15 @@
5353
<plugins>
5454
<plugin>
5555
<artifactId>maven-compiler-plugin</artifactId>
56-
<version>2.3.2</version>
56+
<version>3.1</version>
5757
<configuration>
5858
<source>1.5</source>
5959
<target>1.5</target>
6060
</configuration>
6161
</plugin>
6262
<plugin>
6363
<artifactId>maven-surefire-plugin</artifactId>
64-
<version>2.8</version>
64+
<version>2.15</version>
6565
<configuration>
6666
<includes>
6767
<include>**/Test*.java</include>
@@ -70,7 +70,7 @@
7070
</plugin>
7171
<plugin>
7272
<artifactId>maven-source-plugin</artifactId>
73-
<version>2.1.2</version>
73+
<version>2.2.1</version>
7474
<executions>
7575
<execution>
7676
<id>attach-sources</id>
@@ -82,7 +82,7 @@
8282
</plugin>
8383
<plugin>
8484
<artifactId>maven-javadoc-plugin</artifactId>
85-
<version>2.7</version>
85+
<version>2.9.1</version>
8686
<executions>
8787
<execution>
8888
<id>attach-javadocs</id>
@@ -94,15 +94,15 @@
9494
</plugin>
9595
<plugin>
9696
<artifactId>maven-release-plugin</artifactId>
97-
<version>2.2.1</version>
97+
<version>2.4.1</version>
9898
</plugin>
9999
<plugin>
100100
<artifactId>maven-repository-plugin</artifactId>
101101
<version>2.3.1</version>
102102
</plugin>
103103
<plugin>
104104
<artifactId>maven-assembly-plugin</artifactId>
105-
<version>2.2.1</version>
105+
<version>2.4</version>
106106
<executions>
107107
<execution>
108108
<phase>package</phase>
@@ -123,7 +123,7 @@
123123
<plugin>
124124
<groupId>org.apache.felix</groupId>
125125
<artifactId>maven-bundle-plugin</artifactId>
126-
<version>2.3.7</version>
126+
<version>2.4.0</version>
127127
<extensions>true</extensions>
128128
</plugin>
129129
</plugins>
@@ -132,13 +132,13 @@
132132
<dependency>
133133
<groupId>junit</groupId>
134134
<artifactId>junit</artifactId>
135-
<version>4.10</version>
135+
<version>4.11</version>
136136
<scope>test</scope>
137137
</dependency>
138138
<dependency>
139139
<groupId>org.objenesis</groupId>
140140
<artifactId>objenesis</artifactId>
141-
<version>1.2</version>
141+
<version>1.3</version>
142142
</dependency>
143143
</dependencies>
144144
<profiles>
@@ -167,4 +167,4 @@
167167
</build>
168168
</profile>
169169
</profiles>
170-
</project>
170+
</project>

src/test/java/com/rits/tests/cloning/CloneInnerAnonTest.java

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
package com.rits.tests.cloning;
22

3-
import static junit.framework.Assert.assertNotSame;
4-
import static junit.framework.Assert.assertSame;
5-
3+
import com.rits.cloning.Cloner;
64
import org.junit.Test;
75

8-
import com.rits.cloning.Cloner;
6+
import static org.junit.Assert.assertNotSame;
7+
import static org.junit.Assert.assertSame;
98

109
/**
1110
* @author kostantinos.kougios
12-
*
13-
* 23 Sep 2012
11+
* <p/>
12+
* 23 Sep 2012
1413
*/
1514
public class CloneInnerAnonTest
1615
{
1716
class TestInner
1817
{
19-
public Object o = new Object();
18+
public Object o = new Object();
2019

21-
public CloneInnerAnonTest parent = CloneInnerAnonTest.this;
20+
public CloneInnerAnonTest parent = CloneInnerAnonTest.this;
2221

2322
public CloneInnerAnonTest getParent()
2423
{

0 commit comments

Comments
 (0)