mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-30 23:02:15 +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>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
<version>10.8.2.2</version>
|
||||
<version>${derby.version}</version>
|
||||
<scope>runtime</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- In Android these libraries are incomplete,
|
||||
@ -267,6 +269,7 @@
|
||||
<easymock.version>3.0</easymock.version>
|
||||
<junit.version>4.8.2</junit.version>
|
||||
<slf4j.version>1.6.2</slf4j.version>
|
||||
<derby.version>10.8.2.2</derby.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
@ -68,7 +68,8 @@ public class DerbyBlockStoreTest {
|
||||
for (File c : f.listFiles())
|
||||
deleteRecursively(c);
|
||||
}
|
||||
if (!f.delete())
|
||||
|
||||
if (f.exists() && !f.delete())
|
||||
throw new FileNotFoundException("Failed to delete file: " + f);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user