dion 02/05/13 00:03:44
Modified: src/java/org/apache/maven MavenTool.java
Log:
Fixed checkstyle issues
Revision Changes Path
1.7 +18 -11 jakarta-turbine-maven/src/java/org/apache/maven/MavenTool.java
Index: MavenTool.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/MavenTool.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MavenTool.java 10 May 2002 11:31:40 -0000 1.6
+++ MavenTool.java 13 May 2002 07:03:44 -0000 1.7
@@ -177,7 +177,7 @@
}
else
{
- list = (List)getCounted().get(object);
+ list = (List) getCounted().get(object);
}
list.add(object);
getCounted().put(object, list);
@@ -198,7 +198,7 @@
for (Iterator index = counted.keySet().iterator(); index.hasNext(); )
{
key = index.next();
- list = (List)counted.get(key);
+ list = (List) counted.get(key);
Integer count = new Integer(list.size());
Set items = null;
if (!map.containsKey(count))
@@ -207,7 +207,7 @@
}
else
{
- items = (Set)map.get(count);
+ items = (Set) map.get(count);
}
items.add(key);
map.put(count, items);
@@ -216,7 +216,8 @@
/**
* get a list of counted items with the key being the number of times
- * counted (in descending order) and the value any arbitrary item that was
counted
+ * counted (in descending order) and the value any arbitrary item that was
+ * counted
* @return a sorted map of #times counted -> list of objects
*/
public Map getCountDescending()
@@ -247,42 +248,48 @@
/** Getter for property counted.
* @return Value of property counted.
*/
- private Map getCounted() {
+ private Map getCounted()
+ {
return counted;
}
/** Setter for property counted.
* @param counted New value of property counted.
*/
- private void setCounted(Map counted) {
+ private void setCounted(Map counted)
+ {
this.counted = counted;
}
/** Getter for property countedItems.
* @return Value of property countedItems.
*/
- private Map getCountedItems() {
+ private Map getCountedItems()
+ {
return countedItems;
}
/** Setter for property countedItems.
* @param countedItems New value of property countedItems.
*/
- private void setCountedItems(Map countedItems) {
+ private void setCountedItems(Map countedItems)
+ {
this.countedItems = countedItems;
}
/** Getter for property countedItemsReversed.
* @return Value of property countedItemsReversed.
*/
- private Map getCountedItemsReversed() {
+ private Map getCountedItemsReversed()
+ {
return countedItemsReversed;
}
/** Setter for property countedItemsReverse.
- * @param countedItemsRevers New value of property countedItemsReverse.
+ * @param countedItemsReversed New value of property countedItemsReverse.
*/
- private void setCountedItemsReversed(Map countedItemsReversed) {
+ private void setCountedItemsReversed(Map countedItemsReversed)
+ {
this.countedItemsReversed = countedItemsReversed;
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>