Skip to content

Commit

Permalink
refact: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Jun 28, 2024
1 parent 36b80bf commit e9e603d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugin/src/main/java/org/haxe4e/studio/HaxeStudioPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
*/
package org.haxe4e.studio;

import static net.sf.jstuff.core.validation.NullAnalysisHelper.asNonNullUnsafe;

import org.eclipse.jdt.annotation.Nullable;
import org.osgi.framework.BundleContext;

Expand All @@ -28,8 +26,7 @@ public class HaxeStudioPlugin extends AbstractEclipsePlugin {
* @return the shared instance
*/
public static HaxeStudioPlugin get() {
Assert.notNull(instance, "Default plugin instance is still null.");
return asNonNullUnsafe(instance);
return Assert.notNull(instance, "Default plugin instance is still null.");
}

public static PluginLogger log() {
Expand Down

0 comments on commit e9e603d

Please sign in to comment.