From ce0c84c5d9e471450b2ec08666318e6ac989cffe Mon Sep 17 00:00:00 2001
From: idk <hankhill19580@gmail.com>
Date: Thu, 19 May 2022 14:37:17 -0400
Subject: [PATCH] make SAMException class public so that it can easily be used
 by SAM implementers/embedders. Looks like it should have been public, all the
 constructors are public but the public keyword is missing on the class
 itself. Make tabs and spacing consistent in that file.

---
 apps/sam/java/src/net/i2p/sam/SAMException.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/apps/sam/java/src/net/i2p/sam/SAMException.java b/apps/sam/java/src/net/i2p/sam/SAMException.java
index a2c2518821..98d3aad19f 100644
--- a/apps/sam/java/src/net/i2p/sam/SAMException.java
+++ b/apps/sam/java/src/net/i2p/sam/SAMException.java
@@ -1,9 +1,9 @@
 package net.i2p.sam;
 /*
  * free (adj.): unencumbered; not under the control of others
- * Written by human in 2004 and released into the public domain 
- * with no warranty of any kind, either expressed or implied.  
- * It probably won't  make your computer catch on fire, or eat 
+ * Written by human in 2004 and released into the public domain
+ * with no warranty of any kind, either expressed or implied.
+ * It probably won't  make your computer catch on fire, or eat
  * your children, but it might.  Use at your own risk.
  *
  */
@@ -13,18 +13,18 @@ package net.i2p.sam;
  *
  * @author human
  */
-class SAMException extends Exception {
+public class SAMException extends Exception {
 
     private static final long serialVersionUID = 1;
 
     public SAMException() {
-    	super();
+        super();
     }
-    
+
     public SAMException(String s) {
-    	super(s);
+        super(s);
     }
-    
+
     /** @since 0.9.14 */
     public SAMException(String s, Throwable cause) {
         super(s, cause);
-- 
GitLab