Skip to content

Commit 01dad9a

Browse files
committed
PDFBOX-4668: replace constructor with static initialization
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1925170 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9e49f39 commit 01dad9a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/ResourceCacheFactory.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ public class ResourceCacheFactory
2929
{
3030
private static ResourceCacheCreateFunction resourceCacheCreateFunction = null;
3131

32-
/**
33-
* Constructor.
34-
*/
35-
private ResourceCacheFactory()
32+
static
3633
{
3734
setResourceCacheCreateFunction(new DefaultResourceCacheCreateImpl());
3835
}

0 commit comments

Comments
 (0)