[testng] 181/355: Remove commented code

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 9350f7c8d60e73996654950fd1125528d0672af5
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Mon Apr 13 11:03:17 2015 +0200

    Remove commented code
---
 src/main/java/org/testng/collections/ListMultiMap.java | 7 -------
 src/main/java/org/testng/collections/SetMultiMap.java  | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/src/main/java/org/testng/collections/ListMultiMap.java b/src/main/java/org/testng/collections/ListMultiMap.java
index 6781c9e..c2ff651 100644
--- a/src/main/java/org/testng/collections/ListMultiMap.java
+++ b/src/main/java/org/testng/collections/ListMultiMap.java
@@ -29,12 +29,6 @@ public class ListMultiMap<K, V> {
 
   public List<K> getKeys() {
     return new ArrayList(m_objects.keySet());
-//    List<K> result = new ArrayList<K>();
-//    for (K k : m_objects.keySet()) {
-//      result.add(k);
-//    }
-//    Collections.sort(result);
-//    return result;
   }
 
   public boolean containsKey(K k) {
@@ -45,7 +39,6 @@ public class ListMultiMap<K, V> {
   public String toString() {
     StringBuilder result = new StringBuilder();
     List<K> indices = getKeys();
-//    Collections.sort(indices);
     for (K i : indices) {
       result.append("\n    ").append(i).append(" <-- ");
       for (Object o : m_objects.get(i)) {
diff --git a/src/main/java/org/testng/collections/SetMultiMap.java b/src/main/java/org/testng/collections/SetMultiMap.java
index ade4759..44bae95 100644
--- a/src/main/java/org/testng/collections/SetMultiMap.java
+++ b/src/main/java/org/testng/collections/SetMultiMap.java
@@ -27,12 +27,6 @@ public class SetMultiMap<K, V> {
 
   public Set<K> getKeys() {
     return new HashSet(m_objects.keySet());
-//    Set<K> result = new ArraySet<K>();
-//    for (K k : m_objects.keySet()) {
-//      result.add(k);
-//    }
-//    Collections.sort(result);
-//    return result;
   }
 
   public boolean containsKey(K k) {
@@ -43,7 +37,6 @@ public class SetMultiMap<K, V> {
   public String toString() {
     StringBuilder result = new StringBuilder();
     Set<K> indices = getKeys();
-//    Collections.sort(indices);
     for (K i : indices) {
       result.append("\n    ").append(i).append(" <-- ");
       for (Object o : m_objects.get(i)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list