Kaynağa Gözat

:rotating_light: Fixed gradlew run command

:memo: Fixed some javadoc warnings
palexdev 4 yıl önce
ebeveyn
işleme
74de3b3189

+ 6 - 1
demo/build.gradle

@@ -26,7 +26,12 @@ dependencies {
 }
 
 application {
-    getMainClass().set(moduleName.concat('/').concat(project.findProperty("chooseMain").toString()))
+    String main = project.findProperty("chooseMain").toString()
+    if (main != "null" && !main.trim().isEmpty()) {
+        getMainClass().set(moduleName.concat('/').concat(main))
+    } else {
+        getMainClass().set("io.github.palexdev.materialfx.demo.Demo")
+    }
 }
 
 jlink {

+ 2 - 2
materialfx/src/main/java/io/github/palexdev/materialfx/selection/ListSelectionModel.java

@@ -46,7 +46,7 @@ public class ListSelectionModel<T> implements IListSelectionModel<T> {
     //================================================================================
 
     /**
-     * This method is called when the mouse event passed to {@link #select(int, T, MouseEvent)}
+     * This method is called when the mouse event passed to {@link #select(int, Object, MouseEvent)}
      * is null. Since it's null there's no check for isShiftDown() or isControlDown(), so in case
      * of multiple selection enabled the passed index and data will always be added to the map.
      */
@@ -84,7 +84,7 @@ public class ListSelectionModel<T> implements IListSelectionModel<T> {
      * The mouse event is needed in case of multiple selection allowed because
      * we check if the Shift key or Ctrl key were pressed.
      * <p>
-     * If the mouseEvent is null we call the other {@link #select(int, T)} method.
+     * If the mouseEvent is null we call the other {@link #select(int, Object)} method.
      * <p>
      * If the selection is multiple and Shift or Ctrl are pressed the new entry
      * is put in the map.

+ 1 - 1
materialfx/src/main/java/io/github/palexdev/materialfx/selection/TableSelectionModel.java

@@ -97,7 +97,7 @@ public class TableSelectionModel<T> implements ITableSelectionModel<T> {
      * The mouse event is needed in case of multiple selection allowed because
      * we check if the Shift key or Ctrl key were pressed.
      * <p>
-     * If the mouseEvent is null we call the other {@link #select(int, T)} method.
+     * If the mouseEvent is null we call the other {@link #select(int, Object)} method.
      * <p>
      * If the selection is multiple and Shift or Ctrl are pressed the new entry
      * is put in the map.