Commit a38d5c9d authored by cdanger's avatar cdanger

Improved BaseCombiningAlg.toString()

parent 95848d22
......@@ -6,3 +6,4 @@
/.pmdruleset.xml
/.CHANGELOG.md.html
/.README.md.html
/bin/
......@@ -35,6 +35,8 @@ public abstract class BaseCombiningAlg<T extends Decidable> implements Combining
private final Class<T> combinedElementType;
private final String toString;
/**
* Constructor
*
......@@ -54,6 +56,7 @@ public abstract class BaseCombiningAlg<T extends Decidable> implements Combining
{
this.combinedElementType = combinedType;
this.id = id;
this.toString = "Combining Algorithm['"+ id + "']";
}
@Override
......@@ -70,7 +73,7 @@ public abstract class BaseCombiningAlg<T extends Decidable> implements Combining
@Override
public final String toString()
{
return this.id;
return this.toString;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment