OSDN Git Service

Skin, removed printlns.
authorNathanSweet <nathan.sweet@gmail.com>
Thu, 27 Sep 2012 08:43:23 +0000 (01:43 -0700)
committerNathanSweet <nathan.sweet@gmail.com>
Thu, 27 Sep 2012 08:43:23 +0000 (01:43 -0700)
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Skin.java

index 4a01d75..75a82a1 100644 (file)
@@ -118,8 +118,6 @@ public class Skin implements Disposable {
                        resources.put(type, typeResources);\r
                }\r
                typeResources.put(name, resource);\r
-               if (name.equals("tree-collapse-up")) System.out.println();\r
-\r
        }\r
 \r
        public <T> T get (Class<T> type) {\r
@@ -248,8 +246,6 @@ public class Skin implements Disposable {
        /** Returns a registered drawable. If no drawable is found but a region, ninepatch, or sprite exists with the name, then the\r
         * appropriate drawable is created and stored in the skin. */\r
        public Drawable getDrawable (String name) {\r
-               if (name.equals("tree-collapse-up")) System.out.println();\r
-\r
                Drawable drawable = optional(name, Drawable.class);\r
                if (drawable != null) return drawable;\r
 \r
@@ -485,7 +481,6 @@ public class Skin implements Disposable {
                        public Object read (Json json, Object jsonData, Class type) {\r
                                String name = json.readValue("name", String.class, jsonData);\r
                                Color color = json.readValue("color", Color.class, jsonData);\r
-                               if (name.equals("tree-collapse")) System.out.println();\r
                                return newDrawable(name, color);\r
                        }\r
                });\r