PrintServiceAttributeSet newSet = service.getAttributes();
if (!lastSet.equals(newSet)) {
PrintServiceAttributeSet updated =
getUpdatedAttributeSet(lastSet, newSet);
if (updated.size() > 0) {
PrintServiceAttributeEvent event =
new PrintServiceAttributeEvent(service,updated);
ArrayList serviceListeners =
(ArrayList)listeners.get(service);
for (int j = 0; j < serviceListeners.size(); j++) {
PrintServiceAttributeListener listener =
(PrintServiceAttributeListener)