Issue 1578: Public method declarations in ResponseHandler interface (java2idl-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: This item affects the Java-to-IDL spec, but is also of concern to the IDL-to-Java RTF because it relates to the new portability stub APIs. Section 7.2.2 of the Java to IDL mapping specifies a new interface ResponseHandler with methods createReply and createExceptionReply. These methods are declared as public. Section 9.4 of the Java Language Specification states that "Every method declaration in the body of an interface is implicitly public. It is permitted, but strongly discouraged as a matter of style, to redundantly specify the public modifier for interface methods." I propose that the public modifier be removed from these method declarations. Resolution: Revised Text: Actions taken: June 24, 1998: received issue February 23, 1999: closed issue Discussion: End of Annotations:===== Public method declarations in ResponseHandler interface Return-Path: Date: Wed, 24 Jun 1998 12:19:49 +0100 From: Simon Nash Reply-To: nash@hursley.ibm.com Organization: IBM To: java2idl-rtf@omg.org Cc: java-rtf@omg.org, issues@omg.org Subject: Public method declarations in ResponseHandler interface This item affects the Java-to-IDL spec, but is also of concern to the IDL-to-Java RTF because it relates to the new portability stub APIs. Section 7.2.2 of the Java to IDL mapping specifies a new interface ResponseHandler with methods createReply and createExceptionReply. These methods are declared as public. Section 9.4 of the Java Language Specification states that "Every method declaration in the body of an interface is implicitly public. It is permitted, but strongly discouraged as a matter of style, to redundantly specify the public modifier for interface methods." I propose that the public modifier be removed from these method declarations. Simon -- Simon C Nash, IBM Java Technology Centre, Hursley, UK MailPoint 146, x245156 Tel. 01962 815156 or +44-1962-815156 Internet: nash@hursley.ibm.com Notes mail: Simon Nash@ibmgb