equal
deleted
inserted
replaced
220 * |
220 * |
221 * @return information about this Permission. |
221 * @return information about this Permission. |
222 */ |
222 */ |
223 public String toString() { |
223 public String toString() { |
224 String actions = getActions(); |
224 String actions = getActions(); |
225 if ((actions == null) || (actions.length() == 0)) { // OPTIONAL |
225 if (actions == null || actions.isEmpty()) { // OPTIONAL |
226 return "(\"" + getClass().getName() + "\" \"" + name + "\")"; |
226 return "(\"" + getClass().getName() + "\" \"" + name + "\")"; |
227 } else { |
227 } else { |
228 return "(\"" + getClass().getName() + "\" \"" + name + |
228 return "(\"" + getClass().getName() + "\" \"" + name + |
229 "\" \"" + actions + "\")"; |
229 "\" \"" + actions + "\")"; |
230 } |
230 } |