openamf/src/java/org/openamf/invoker SessionControlInvoker.java,1.8,1.9 PageableResultSetServiceInvoker.java,1.9,1.10
Sean Sullivan <[email protected]> Fri, 09 Jul 2004 04:21:16 +0000
| Newsgroups | gmane.comp.java.openamf.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openamf/openamf/src/java/org/openamf/invoker
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19395/src/java/org/openamf/invoker
Modified Files:
SessionControlInvoker.java
PageableResultSetServiceInvoker.java
Log Message:
tweaked the "supports" method.
This enhancement will prevent unintended NullPointerException's
Index: SessionControlInvoker.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/SessionControlInvoker.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** SessionControlInvoker.java 19 Nov 2003 19:40:19 -0000 1.8
--- SessionControlInvoker.java 9 Jul 2004 04:21:14 -0000 1.9
***************
*** 47,51 ****
public boolean supports(ServiceRequest request) {
! return request.getServiceName().equals(SessionControlInvoker.class.getName());
}
--- 47,51 ----
public boolean supports(ServiceRequest request) {
! return SessionControlInvoker.class.getName().equals(request.getServiceName());
}
Index: PageableResultSetServiceInvoker.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/PageableResultSetServiceInvoker.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PageableResultSetServiceInvoker.java 15 Aug 2003 22:03:42 -0000 1.9
--- PageableResultSetServiceInvoker.java 9 Jul 2004 04:21:14 -0000 1.10
***************
*** 52,56 ****
public boolean supports(ServiceRequest request) {
! return request.getServiceName().equals(ASRecordSet.SERVICE_NAME);
}
--- 52,56 ----
public boolean supports(ServiceRequest request) {
! return ASRecordSet.SERVICE_NAME.equals(request.getServiceName());
}
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com