From afe95a1d7a3ce6842bb230eeaff70dc94bd24934 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Oct 2015 09:15:50 +0200 Subject: cid#1326608,cid#1326609 CN: Bad implementation of cloneable idiom Change-Id: Iac74be96b47720ab105f862e7d1a69f909214294 --- .../EvolutionarySolver/src/net/adaptivebox/space/BasicPoint.java | 2 +- .../xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/BasicPoint.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/BasicPoint.java index a590a69742f7..35f5f79ce23d 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/BasicPoint.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/BasicPoint.java @@ -20,7 +20,7 @@ package net.adaptivebox.space; -public class BasicPoint implements Cloneable, ILocationEngine { +public class BasicPoint implements ILocationEngine { //store the location information in the search space (S) private final double[] location; diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java index 68a62b620fd5..7015847152a5 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/Format.java @@ -23,7 +23,7 @@ import java.awt.Color; /** * This class specifies the format for a given spreadsheet cell. */ -public class Format implements Cloneable { +public class Format { /** Horizontal Alignment Constants. */ final public static int RIGHT_ALIGN = 0x01; -- cgit v1.2.3