* comment here, we use the default documentation from implemented
* interface.
*/
- public Collection getChildren(Object itemId) {
+ public Collection<?> getChildren(Object itemId) {
// If the wrapped container implements the method directly, use it
if (hierarchical) {
return ((Container.Hierarchical) container).getChildren(itemId);
}
- final Collection c = children.get(itemId);
+ final Collection<?> c = children.get(itemId);
if (c == null) {
return null;
}
* comment here, we use the default documentation from implemented
* interface.
*/
- public Collection rootItemIds() {
+ public Collection<?> rootItemIds() {
// If the wrapped container implements the method directly, use it
if (hierarchical) {
* comment here, we use the default documentation from implemented
* interface.
*/
- public Collection getItemIds() {
+ public Collection<?> getItemIds() {
return container.getItemIds();
}
* JavaDoc comment here, we use the default documentation from implemented
* interface.
*/
- public Collection getContainerPropertyIds() {
+ public Collection<?> getContainerPropertyIds() {
return container.getContainerPropertyIds();
}
* Don't add a JavaDoc comment here, we use the default documentation from
* implemented interface.
*/
- public Class getType(Object propertyId) {
+ public Class<?> getType(Object propertyId) {
return container.getType(propertyId);
}
* comment here, we use the default documentation from implemented
* interface.
*/
- public Collection getChildren(Object itemId) {
+ public Collection<?> getChildren(Object itemId) {
LinkedList<Object> c;
if (filteredChildren != null) {
* comment here, we use the default documentation from implemented
* interface.
*/
- public Collection rootItemIds() {
+ public Collection<?> rootItemIds() {
if (filteredRoots != null) {
return Collections.unmodifiableCollection(filteredRoots);
} else {