Skip to content

Commit

Permalink
new Boolean(true) -> Boolean.TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
nuthub committed Jun 1, 2023
1 parent 9a1a517 commit 7255f95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private void findPaths(final List<Element> pathPrefix, final Map<Element, Elemen
*/
public final static Pseudostate getInitialState(final Element element) {
LinkedList<Pair<Element,Boolean>> q=new LinkedList<>();//boolean visited
q.add(new Pair<>(element,new Boolean(true)));
q.add(new Pair<>(element, Boolean.TRUE));
Element e=null;
while (!q.isEmpty()){
q.peek().setSecond(Boolean.TRUE);
Expand Down

1 comment on commit 7255f95

@nuthub
Copy link
Contributor Author

@nuthub nuthub commented on 7255f95 Jun 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addresses #20

Please sign in to comment.