From 0a861d11c7b0ebce8fdec68a5edca8adf9193974 Mon Sep 17 00:00:00 2001 From: serso Date: Mon, 8 Sep 2014 19:02:41 +0200 Subject: [PATCH] FindBugs fixes --- .idea/findbugs-idea.xml | 2 +- .../calculator/CalculatorPostfixFunctionsRegistry.java | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.idea/findbugs-idea.xml b/.idea/findbugs-idea.xml index 10ae7e6c..c8493a76 100644 --- a/.idea/findbugs-idea.xml +++ b/.idea/findbugs-idea.xml @@ -124,7 +124,7 @@ - + diff --git a/core/src/main/java/org/solovyev/android/calculator/CalculatorPostfixFunctionsRegistry.java b/core/src/main/java/org/solovyev/android/calculator/CalculatorPostfixFunctionsRegistry.java index 188caed4..587d9bc7 100644 --- a/core/src/main/java/org/solovyev/android/calculator/CalculatorPostfixFunctionsRegistry.java +++ b/core/src/main/java/org/solovyev/android/calculator/CalculatorPostfixFunctionsRegistry.java @@ -23,12 +23,10 @@ package org.solovyev.android.calculator; import jscl.math.operator.Operator; - -import javax.annotation.Nonnull; - import org.solovyev.common.JBuilder; import org.solovyev.common.math.MathRegistry; +import javax.annotation.Nonnull; import java.util.HashMap; import java.util.Map; @@ -82,7 +80,7 @@ public class CalculatorPostfixFunctionsRegistry extends AbstractCalculatorMathRe @Nonnull @Override protected JBuilder createBuilder(@Nonnull MathPersistenceEntity entity) { - return null; //To change body of implemented methods use File | Settings | File Templates. + throw new UnsupportedOperationException(); } @Override @@ -92,12 +90,12 @@ public class CalculatorPostfixFunctionsRegistry extends AbstractCalculatorMathRe @Override protected MathPersistenceEntity transform(@Nonnull Operator entity) { - return null; //To change body of implemented methods use File | Settings | File Templates. + return null; } @Nonnull @Override protected MathEntityPersistenceContainer createPersistenceContainer() { - return null; //To change body of implemented methods use File | Settings | File Templates. + throw new UnsupportedOperationException(); } }