fenfire-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ff-cvs] fenfire/org/fenfire/functional Functional.java


From: Tuomas J. Lukka
Subject: [ff-cvs] fenfire/org/fenfire/functional Functional.java
Date: Wed, 10 Sep 2003 09:51:31 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/09/10 09:51:31

Modified files:
        org/fenfire/functional: Functional.java 

Log message:
        Fix Functional hints to be static

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/functional/Functional.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/functional/Functional.java
diff -u fenfire/org/fenfire/functional/Functional.java:1.1 
fenfire/org/fenfire/functional/Functional.java:1.2
--- fenfire/org/fenfire/functional/Functional.java:1.1  Wed Sep 10 09:00:46 2003
+++ fenfire/org/fenfire/functional/Functional.java      Wed Sep 10 09:51:31 2003
@@ -25,7 +25,7 @@
     public interface Hints {
     }
 
-    protected class DefaultHints implements Hints {
+    protected static class DefaultHints implements Hints {
        public DefaultHints(HintsMaker maker) {
            this.bgGroup = maker.bgGroup;
            this.isSlow = maker.isSlow;
@@ -38,7 +38,7 @@
 
     /** An interface for creating Hints objects.
      */
-    public class HintsMaker {
+    public static class HintsMaker {
        private Object bgGroup = null;
        private boolean isSlow = false;
        private Object placeholder = null;
@@ -49,7 +49,7 @@
         * OpenGL objects should only be handled in one thread.
         * Default: null.
         */
-       void setBackgroundGroup(Object id) {
+       public void setBackgroundGroup(Object id) {
            this.bgGroup = id;
        }
 
@@ -59,7 +59,7 @@
         * are not counted.
         * Default: not slow.
         */
-       void setSlow(boolean isSlow) {
+       public void setSlow(boolean isSlow) {
            this.isSlow = isSlow;
        }
 
@@ -67,13 +67,13 @@
         * is not ready yet.
         * Default: null.
         */
-       void setPlaceholder(Object o) {
+       public void setPlaceholder(Object o) {
            this.placeholder = o;
        }
 
        /** Create the Hints object.
         */
-       Hints make() {
+       public Hints make() {
            return new DefaultHints(this);
        }
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]