Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper/resource/compare
In directory sc8-pr-cvs1:/tmp/cvs-serv17841/src/java/core/org/krysalis/ruper/resource/compare
Modified Files:
StandardResourceComparisons.java
Log Message:
Protocol mgr made as a handler mgr to manage the provider selection through
the selectors.
And tested the full cycle for FileUpdater working
Index: StandardResourceComparisons.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper/resource/compare/StandardResourceComparisons.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** StandardResourceComparisons.java 12 Sep 2003 20:23:44 -0000 1.1
--- StandardResourceComparisons.java 18 Sep 2003 20:15:41 -0000 1.2
***************
*** 8,11 ****
--- 8,12 ----
/**
* @author arb_jack
+ * @author anou_mana
*/
public class StandardResourceComparisons {
***************
*** 13,16 ****
--- 14,19 ----
private static ComparatorSet l_nameTypeVersion = null;
private static ComparatorSet l_nameVersion = null;
+ private static ComparatorSet l_name = null;
+ private static ComparatorSet l_version = null;
private static ComparatorSet l_nameType = null;
***************
*** 25,28 ****
--- 28,37 ----
l_nameVersion.addComparator(VersionComparator.getInstance());
+ l_name = new ComparatorSet();
+ l_name.addComparator(NameComparator.getInstance());
+
+ l_version = new ComparatorSet();
+ l_version.addComparator(VersionComparator.getInstance());
+
l_nameType = new ComparatorSet();
l_nameType.addComparator(NameComparator.getInstance());
***************
*** 33,37 ****
* @return
*/
! public static ComparatorSet getNameTypeVersion() {
return l_nameTypeVersion;
}
--- 42,46 ----
* @return
*/
! public static ComparatorSet getNameTypeVersionComparatorSet() {
return l_nameTypeVersion;
}
***************
*** 40,44 ****
* @return
*/
! public static ComparatorSet getNameType() {
return l_nameType;
}
--- 49,53 ----
* @return
*/
! public static ComparatorSet getNameTypeComparatorSet() {
return l_nameType;
}
***************
*** 47,52 ****
* @return
*/
! public static ComparatorSet getNameVersion() {
return l_nameVersion;
}
}
--- 56,75 ----
* @return
*/
! public static ComparatorSet getNameVersionComparatorSet() {
return l_nameVersion;
+ }
+
+ /**
+ * @return
+ */
+ public static ComparatorSet getVersionComparatorSet() {
+ return l_version;
+ }
+
+ /**
+ * @return
+ */
+ public static ComparatorSet getNameComparatorSet() {
+ return l_name;
}
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.