diff options
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/font')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/FontFactory.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java index 586bdd919..33d487355 100644 --- a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java +++ b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java @@ -29,7 +29,7 @@ package com.jogamp.graph.font; import java.io.File; import java.io.IOException; -import java.net.URL; +import java.net.URLConnection; import com.jogamp.common.util.PropertyAccess; import com.jogamp.common.util.ReflectionUtil; @@ -78,8 +78,8 @@ public class FontFactory { return fontConstr.create(file); } - public static final Font get(final URL url) throws IOException { - return fontConstr.create(url); + public static final Font get(final URLConnection conn) throws IOException { + return fontConstr.create(conn); } public static boolean isPrintableChar( char c ) { |