Skip to content

Commit

Permalink
Merge pull request #7 from bharathkalyans/bharathkalyans/refactor-iss…
Browse files Browse the repository at this point in the history
…ue-#5

refactor: private constructor added
  • Loading branch information
artpar authored Sep 13, 2023
2 parents 0c30d35 + 3617717 commit 4a79a4a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/io/unlogged/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@


public class Constants {

private Constants() {}

public static final String AGENT_VERSION = "1.0.1";
}
3 changes: 2 additions & 1 deletion src/main/java/io/unlogged/Unlogged.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
public @interface Unlogged {
/**
* Comma separated list of package names which are to be included for recording
* @return List of strings, each one being a package name
*
* @return Array of strings, each one being a package name
*/
String[] includePackage() default "";

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/unlogged/util/ClassTypeUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import java.util.regex.Pattern;

public class ClassTypeUtil {

private ClassTypeUtil() {}

public static List<String> splitMethodDesc(String desc) {
int beginIndex = desc.indexOf('(');
int endIndex = desc.lastIndexOf(')');
Expand Down

0 comments on commit 4a79a4a

Please sign in to comment.