We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a396a9 commit 336eb48Copy full SHA for 336eb48
1 file changed
engine/api/src/org/apache/cloudstack/engine/Rules.java
@@ -21,7 +21,6 @@
21
import java.util.ArrayList;
22
import java.util.List;
23
24
-import com.cloud.utils.StringUtils;
25
26
/**
27
* Rules specifies all rules about developing and using CloudStack Orchestration
@@ -55,18 +54,7 @@ public static List<String> whenWritingNewApis() {
55
54
56
private static void printRule(String rule) {
57
System.out.print("API Rule: ");
58
- String skip = "";
59
- int brk = 0;
60
- while (true) {
61
- int stop = StringUtils.formatForOutput(rule, brk, 75 - skip.length(), ' ');
62
- if (stop < 0) {
63
- break;
64
- }
65
- System.out.print(skip);
66
- skip = " ";
67
- System.out.println(rule.substring(brk, stop).trim());
68
- brk = stop;
69
+ System.out.println(rule);
70
}
71
72
public static void main(String[] args) {
0 commit comments