Skip to content
Browse files

additional formatting

  • Loading branch information...
1 parent ad7af51 commit e4ae42144d6bd6e0f8c7adcb4133346ddcd4f93a @cconlon committed
View
3 src/java/edu/mit/jgss/DerUtil.java
@@ -44,7 +44,8 @@
* object in order to be able to pass them back to the underlying
* native GSSAPI implementation.
*/
- public static DerHeader getHeader(InputStream in) throws GSSException, IOException {
+ public static DerHeader getHeader(InputStream in)
+ throws GSSException, IOException {
int length = 0;
int tag, b;
View
12 src/java/edu/mit/jgss/GSSManagerImpl.java
@@ -57,7 +57,8 @@
return null;
}
- public GSSName createName(String nameStr, Oid nameType) throws GSSException {
+ public GSSName createName(String nameStr, Oid nameType)
+ throws GSSException {
GSSNameImpl newName = new GSSNameImpl();
newName.importName(nameStr, nameType);
@@ -65,7 +66,8 @@ public GSSName createName(String nameStr, Oid nameType) throws GSSException {
}
- public GSSName createName(byte[] name, Oid nameType) throws GSSException {
+ public GSSName createName(byte[] name, Oid nameType)
+ throws GSSException {
GSSNameImpl newName = new GSSNameImpl();
newName.importName(name, nameType);
@@ -82,7 +84,8 @@ public GSSName createName(String nameStr, Oid nameType, Oid mech)
}
- public GSSName createName(byte[] name, Oid nameType, Oid mech) throws GSSException {
+ public GSSName createName(byte[] name, Oid nameType, Oid mech)
+ throws GSSException {
GSSName newName = createName(name, nameType);
GSSName canonicalizedName = newName.canonicalize(mech);
@@ -90,7 +93,8 @@ public GSSName createName(byte[] name, Oid nameType, Oid mech) throws GSSExcepti
}
- public GSSCredential createCredential(int usage) throws GSSException {
+ public GSSCredential createCredential(int usage)
+ throws GSSException {
if (usage != GSSCredential.INITIATE_AND_ACCEPT ||
usage != GSSCredential.INITIATE_ONLY ||
View
6 src/java/edu/mit/jgss/GSSNameImpl.java
@@ -62,7 +62,8 @@ public boolean equals(GSSName another) throws GSSException {
if (maj_status != gsswrapper.GSS_S_COMPLETE) {
if (DEBUG_ERR == true)
- System.out.println("gss_compare_name failed... maj_status = " + maj_status);
+ System.out.println("gss_compare_name failed... maj_status = "
+ + maj_status);
throw new GSSExceptionImpl((int)maj_status, (int)min_status[0]);
}
@@ -130,7 +131,8 @@ public GSSName canonicalize(Oid mech) throws GSSException {
ret = canonicalName.setInternGSSName(tmpName);
if (ret != 0) {
if (DEBUG_ERR == true)
- System.err.println("setInternGSSName failed after canonicalize");
+ System.err.println("setInternGSSName failed after " +
+ "canonicalize");
throw new GSSExceptionImpl((int)maj_status, (int)min_status[0]);
}

0 comments on commit e4ae421

Please sign in to comment.
Something went wrong with that request. Please try again.