/[libvob]/libvob/org/nongnu/libvob/gl/GL.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/gl/GL.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by tjl, Mon Jun 16 16:16:30 2003 UTC revision 1.18 by tjl, Sun Jun 22 11:55:11 2003 UTC
# Line 846  public class GL { Line 846  public class GL {
846          java.lang.ref.WeakReference clos;          java.lang.ref.WeakReference clos;
847          public WeakStatsCaller(StatsCallback obj, Object clos) {          public WeakStatsCaller(StatsCallback obj, Object clos) {
848              this.obj = new java.lang.ref.WeakReference(obj);              this.obj = new java.lang.ref.WeakReference(obj);
849              this.clos = new java.lang.ref.WeakReference(clos);              this.clos = (clos == null ? null : new java.lang.ref.WeakReference(clos));
850          }          }
851          public void call() {          public void call() {
852              StatsCallback cb = (StatsCallback) obj.get();              StatsCallback cb = (StatsCallback) obj.get();
853              if(cb == null) return;              if(cb == null) return;
854              cb.call(clos.get());              cb.call((clos == null ? null : clos.get()));
855          }          }
856      }      }
857    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26