Replaced static factory method with constructor
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / components / TextComponent.java
index 6062aff..339d4f5 100644 (file)
@@ -41,6 +41,6 @@ public class TextComponent extends GUIComponent
 \r
        static\r
        {\r
-               ViewLogicModelAdapter.addComponentAdapter(NoLogicAdapter.forClass(TextComponent.class));\r
+               ViewLogicModelAdapter.addComponentAdapter(new NoLogicAdapter<>(TextComponent.class));\r
        }\r
 }\r