Skip to content

Commit

Permalink
Update cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
44million committed Dec 2, 2023
1 parent 1e5b7b1 commit 13c3647
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/qlang/core/internal/Environment.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Environment {
public static String[] args;

// General language elements
public Map<String, Function> functions = new HashMap<String, Function>();
public Map<String, Function> functions = new HashMap<>();
public Map<String, Function> globalFns = new HashMap<>();
public Scope scope = new Scope();
public Visitor visitor = new Visitor(scope, functions);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/qlang/core/lang/Q/QClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ private QObject() {
/**
* Constructs a QObject instance with specified parameters.
*
* @param name The name of the object.
* @param name The name of the object.
* @param instance The associated QClass instance.
* @param node Reference to the QParser.BlockContext node associated with the object.
* @param node Reference to the QParser.BlockContext node associated with the object.
*/
public QObject(String name, QClass instance, QParser.BlockContext node) {
this.name = name;
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/qlang/runtime/libs/AWT/QWinKit.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ public QWinKit(String name, int x, int y) {
/**
* Constructs a QWinKit instance with the specified name, x-coordinate, y-coordinate, width, and height.
*
* @param name The name of the window.
* @param x The x-coordinate of the window.
* @param y The y-coordinate of the window.
* @param w The width of the window.
* @param h The height of the window.
* @param name The name of the window.
* @param x The x-coordinate of the window.
* @param y The y-coordinate of the window.
* @param w The width of the window.
* @param h The height of the window.
*/
public QWinKit(String name, int x, int y, int w, int h) {
this.x = x;
Expand Down

0 comments on commit 13c3647

Please sign in to comment.