src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SearchIndexItem.java
equal
deleted
inserted
replaced
137 item.append("\"u\":\"").append(url).append("\"") |
137 item.append("\"u\":\"").append(url).append("\"") |
138 .append("}"); |
138 .append("}"); |
139 } |
139 } |
140 return item.toString(); |
140 return item.toString(); |
141 } |
141 } |
|
142 |
|
143 /** |
|
144 * Get the part of the label after the last dot, or whole label if no dots. |
|
145 * |
|
146 * @return the simple name |
|
147 */ |
|
148 public String getSimpleName() { |
|
149 return label.substring(label.lastIndexOf('.') + 1); |
|
150 } |
142 } |
151 } |