[Jiemamy-notify:1690] commit [2884] RemoveAttributeであるべきところがAddAttributeだった。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 17日 (火) 02:17:12 JST


Revision: 2884
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2884
Author:   daisuke_m
Date:     2009-03-17 02:17:11 +0900 (Tue, 17 Mar 2009)

Log Message:
-----------
RemoveAttributeであるべきところがAddAttributeだった。

Modified Paths:
--------------
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java


-------------- next part --------------
Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java	2009-03-16 17:16:53 UTC (rev 2883)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java	2009-03-16 17:17:11 UTC (rev 2884)
@@ -36,6 +36,7 @@
 import org.jiemamy.editcommand.impl.AddIndexColumnCommand;
 import org.jiemamy.editcommand.impl.AddIndexCommand;
 import org.jiemamy.editcommand.impl.ModifyModelPropertyCommand;
+import org.jiemamy.editcommand.impl.RemoveAttributeCommand;
 import org.jiemamy.editcommand.impl.RemoveColumnFromColumnRefListCommand;
 import org.jiemamy.editcommand.impl.RemoveDataSetFromRootCommand;
 import org.jiemamy.editcommand.impl.RemoveDomainFromRootCommand;
@@ -177,7 +178,7 @@
 	}
 	
 	public void removeAttribute(TableModel tableModel, AttributeModel attributeModel) {
-		AddAttributeCommand command = new AddAttributeCommand(tableModel, attributeModel);
+		RemoveAttributeCommand command = new RemoveAttributeCommand(tableModel, attributeModel);
 		command.execute(getCommandProcessor());
 		undoStack.push(command.getNegateCommand());
 	}



Jiemamy-notify メーリングリストの案内
Back to archive index