[Pixelle-commit] SF.net SVN: pixelle:[178] trunk/pixelle/src/com/mebigfatguy/pixelle/ AlgorithmArch
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-11-14 15:14:44
|
Revision: 178
http://pixelle.svn.sourceforge.net/pixelle/?rev=178&view=rev
Author: dbrosius
Date: 2008-11-14 15:14:42 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
impl removeAlgorithm
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmArchiver.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmArchiver.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmArchiver.java 2008-11-14 05:55:54 UTC (rev 177)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmArchiver.java 2008-11-14 15:14:42 UTC (rev 178)
@@ -144,7 +144,10 @@
}
public void removeAlgorithm(String group, String name) {
-
+ Map<String, Map<PixelleComponent, String>> algoGroup = userAlgorithms.get(group);
+ if (algoGroup != null) {
+ algoGroup.remove(name);
+ }
}
public void save() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|