mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-4214 update icu4j/java comparison
X-SVN-Rev: 17112
This commit is contained in:
parent
65fd02443d
commit
32cc512fdd
1 changed files with 27 additions and 14 deletions
|
@ -113,6 +113,18 @@ public class ReportAPI {
|
|||
public String get(int typ, boolean brief) {
|
||||
return added.get(typ, brief);
|
||||
}
|
||||
|
||||
public void print(PrintWriter pw, boolean detail, boolean html) {
|
||||
pw.print(" ");
|
||||
removed.print(pw, detail, html);
|
||||
if (html) {
|
||||
pw.println("</br>");
|
||||
} else {
|
||||
pw.println();
|
||||
pw.print("--> ");
|
||||
}
|
||||
added.print(pw, detail, html);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@ -465,28 +477,29 @@ public class ReportAPI {
|
|||
}
|
||||
clas = className;
|
||||
}
|
||||
pw.print(" ");
|
||||
// pw.print(" ");
|
||||
}
|
||||
|
||||
if (html) {
|
||||
pw.print("<li>");
|
||||
if (info instanceof DeltaInfo) {
|
||||
DeltaInfo dinfo = (DeltaInfo)info;
|
||||
dinfo.removed.print(pw, isChangedAPIs, html);
|
||||
pw.println("</br>");
|
||||
dinfo.added.print(pw, isChangedAPIs, html);
|
||||
} else {
|
||||
// if (info instanceof DeltaInfo) {
|
||||
// DeltaInfo dinfo = (DeltaInfo)info;
|
||||
// dinfo.removed.print(pw, isChangedAPIs, html);
|
||||
// pw.println("</br>");
|
||||
// dinfo.added.print(pw, isChangedAPIs, html);
|
||||
// } else {
|
||||
info.print(pw, isChangedAPIs, html);
|
||||
}
|
||||
// }
|
||||
pw.println("</li>");
|
||||
} else {
|
||||
if (info instanceof DeltaInfo) {
|
||||
DeltaInfo dinfo = (DeltaInfo)info;
|
||||
dinfo.removed.println(pw, isChangedAPIs, html);
|
||||
dinfo.added.println(pw, isChangedAPIs, html);
|
||||
} else {
|
||||
// if (info instanceof DeltaInfo) {
|
||||
// DeltaInfo dinfo = (DeltaInfo)info;
|
||||
// dinfo.removed.println(pw, isChangedAPIs, html);
|
||||
// pw.print(" --> ");
|
||||
// dinfo.added.println(pw, isChangedAPIs, html);
|
||||
// } else {
|
||||
info.println(pw, isChangedAPIs, html);
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue