Skip to content

Commit

Permalink
refactor: access modifier changed for TreeNode all argument constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanePark committed Aug 5, 2023
1 parent 29febf4 commit 0c3b3d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion publish.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
PUBLISH_GROUP_ID = 'io.github.shanepark'
PUBLISH_VERSION = '1.2.0'
PUBLISH_VERSION = '1.2.1'
PUBLISH_ARTIFACT_ID = 'psh'
PUBLISH_DESCRIPTION = 'PSH: Problem Solving Helper'
PUBLISH_URL = 'https://github.com/shanepark/psh'
Expand Down
7 changes: 1 addition & 6 deletions src/main/java/io/github/shanepark/leetcode/TreeNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
import java.util.Objects;
import java.util.Queue;

/**
* This class was written to help leetcode TreeNode problems testing.
* <p>
* Author: Shane
*/
public class TreeNode {

public int val;
Expand All @@ -22,7 +17,7 @@ public TreeNode(int val) {
this.val = val;
}

TreeNode(int val, TreeNode left, TreeNode right) {
public TreeNode(int val, TreeNode left, TreeNode right) {
this.val = val;
this.left = left;
this.right = right;
Expand Down

0 comments on commit 0c3b3d5

Please sign in to comment.