Commit af334d41 authored by iSergio's avatar iSergio
Browse files

Correct annotations

parent cc29a3ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,10 +16,10 @@

package org.cesiumjs.cs.core.options;

import jsinterop.annotations.JsConstructor;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import net.sourceforge.htmlunit.corejs.javascript.annotations.JSConstructor;
import org.cesiumjs.cs.core.Resource;

/**
@@ -49,7 +49,7 @@ public class FromAssetIdOptions {
    @JsProperty(name = "server")
    public Resource serverResource;

    @JSConstructor
    @JsConstructor
    public FromAssetIdOptions() {
    }
}
+3 −3
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@

package org.cesiumjs.cs.widgets;

import jsinterop.annotations.JsConstructor;
import jsinterop.annotations.JsType;
import net.sourceforge.htmlunit.corejs.javascript.annotations.JSConstructor;
import org.cesiumjs.cs.widgets.options.ToggleButtonViewModelOptions;

/**
@@ -48,7 +48,7 @@ public class ToggleButtonViewModel {
     *
     * @param command The command which will be executed when the button is toggled.
     */
    @JSConstructor
    @JsConstructor
    public ToggleButtonViewModel(Command command) {
    }

@@ -58,7 +58,7 @@ public class ToggleButtonViewModel {
     * @param command The command which will be executed when the button is toggled.
     * @param options options object
     */
    @JSConstructor
    @JsConstructor
    public ToggleButtonViewModel(Command command, ToggleButtonViewModelOptions options) {
    }
}