mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 11:45:51 +00:00
Prepare Derby for merging
This commit is contained in:
parent
826f2d2c51
commit
247a07a3ab
5
pom.xml
5
pom.xml
@ -248,7 +248,9 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.derby</groupId>
|
<groupId>org.apache.derby</groupId>
|
||||||
<artifactId>derby</artifactId>
|
<artifactId>derby</artifactId>
|
||||||
<version>10.8.2.2</version>
|
<version>${derby.version}</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- In Android these libraries are incomplete,
|
<!-- In Android these libraries are incomplete,
|
||||||
@ -267,6 +269,7 @@
|
|||||||
<easymock.version>3.0</easymock.version>
|
<easymock.version>3.0</easymock.version>
|
||||||
<junit.version>4.8.2</junit.version>
|
<junit.version>4.8.2</junit.version>
|
||||||
<slf4j.version>1.6.2</slf4j.version>
|
<slf4j.version>1.6.2</slf4j.version>
|
||||||
|
<derby.version>10.8.2.2</derby.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -68,7 +68,8 @@ public class DerbyBlockStoreTest {
|
|||||||
for (File c : f.listFiles())
|
for (File c : f.listFiles())
|
||||||
deleteRecursively(c);
|
deleteRecursively(c);
|
||||||
}
|
}
|
||||||
if (!f.delete())
|
|
||||||
|
if (f.exists() && !f.delete())
|
||||||
throw new FileNotFoundException("Failed to delete file: " + f);
|
throw new FileNotFoundException("Failed to delete file: " + f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user