X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2FPlatform.java;h=049404e022465653d4980aa3c636e5e914514ff7;hb=8ea2f2734a60f0c4fa9c82083469165283a8b810;hp=30b46e1d402af0e393e20ffd72ee8dc71bbfe278;hpb=f8e2aa0c7c2b5bd2bca1808fb15dfc8e75d96d56;p=org.ibex.core.git diff --git a/src/org/xwt/Platform.java b/src/org/xwt/Platform.java index 30b46e1..049404e 100644 --- a/src/org/xwt/Platform.java +++ b/src/org/xwt/Platform.java @@ -170,13 +170,6 @@ public class Platform { /** returns the maximum number of threads that the XWT engine can create without adversely affecting the host OS */ protected int _maxThreads() { return 25; } - /** creates a weak reference */ - protected org.xwt.Weak _getWeak(final Object o) { - return new org.xwt.Weak() { - public Object get() { return o; } - }; - } - /** Called once XWT is initialized and the application is running. */ protected void _running() {} @@ -275,9 +268,6 @@ public class Platform { /** returns a list of all platform-specific fonts available */ public static String[] listFonts() { return platform._listFonts(); } - /** creates a weak reference */ - public static org.xwt.Weak getWeak(Object o) { return platform._getWeak(o); } - /** opens a connection to the resource identified by URL u, and returns an InputStream */ public static InputStream urlToInputStream(URL u) throws IOException { return platform._urlToInputStream(u); }