Skip to content

Commit

Permalink
Test code formatting: removed first blank line in block
Browse files Browse the repository at this point in the history
  • Loading branch information
hbitteur committed Dec 22, 2024
1 parent 4b3a784 commit 0f644a5
Show file tree
Hide file tree
Showing 58 changed files with 0 additions and 64 deletions.
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/CLITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
*/
public class CLITest
{

private final CLI instance = new CLI("AudiverisTest");

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
public class GlyphFactoryTest
{

private static final Dimension dim = new Dimension(15, 10);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*/
public class ChamferDistanceTest
{

/**
* Creates a new ChamferDistanceTest object.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
*/
public class ChamferMatchingTest
{

private static final String[] imageRows = new String[]
{
" ",
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/image/MaskTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
*/
public class MaskTest
{

private static final Mask instance = createInstance();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
*/
public class MedianGrayFilterTest
{

final int width = 10;

final int height = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*/
public class WatershedGrayLevelTest
{

/**
* Creates a new WatershedGrayLevelTest object.
*/
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jai/TiffSplit.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
public class TiffSplit
{

private TiffSplit ()
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
public class BasicTest
extends BaseTestCase
{

public static void main (String... args)
throws JAXBException,
FileNotFoundException,
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/basic/Day.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
*/
public class Day
{

@XmlAttribute
public Weekday label;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*/
public class Meeting
{

@XmlAttribute
public int start;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
@XmlRootElement(name = "point")
public class MyPoint
{

private Point p;

/** Creates a new instance of MyPoint */
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/basic/Purse.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
@XmlAccessorType(XmlAccessType.NONE)
public class Purse
{

@XmlElement(name = "tip")
public double[] tips = new double[]{1.0, 2.345, 4.5};

Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/basic/Waiter.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
@XmlRootElement
public class Waiter
{

/** A simple id */
@XmlAttribute
public int id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
@XmlAccessorType(XmlAccessType.NONE)
public class MyClass
{

@XmlAttribute
public final String name;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
public class TestFacade
extends BaseTestCase
{

private JAXBContext jaxbContext;

private final File dir = new File("data/temp/test-facade");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
public class MyAbstractEntity
implements MyEntity
{

/** Identity for debugging. */
@XmlID
@XmlAttribute(name = "id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
@XmlRootElement
public class MyBasicIndex<E extends MyEntity>
{

/** Index name. */
@XmlAttribute
protected final String name;
Expand Down Expand Up @@ -123,7 +122,6 @@ public String toString ()
*/
private static class Snap<E extends MyAbstractEntity>
{

@XmlElements({
@XmlElement(name = "glyph", type = MyGlyph.class),
@XmlElement(name = "symbol", type = MySymbol.class)
Expand All @@ -140,7 +138,6 @@ private static class Snap<E extends MyAbstractEntity>
private static class HashMapAdapter<E extends MyAbstractEntity>
extends XmlAdapter<Snap<E>, ConcurrentHashMap<Integer, E>>
{

@Override
public Snap<E> marshal (ConcurrentHashMap<Integer, E> map)
throws Exception
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
@XmlAccessorType(XmlAccessType.FIELD)
public class MyCompound
{

@XmlIDREF
MyGlyph topGlyph;

Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/itf/MyEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/
public interface MyEntity
{

/**
* Report the ID of this entity
*
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/itf/MyGlyph.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
public class MyGlyph
extends MyAbstractEntity
{

@XmlAttribute
private final String name;

Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/itf/MySymbol.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
public class MySymbol
extends MyAbstractEntity
{

@XmlAttribute
private final int weight;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
public class TestCompound
extends BaseTestCase
{

private JAXBContext jaxbContext;

private final File dir = new File("data/temp/test-itf");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
public class TestEntity
extends BaseTestCase
{

private JAXBContext jaxbContext;

private final File dir = new File("data/temp/test-itf");
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/refs/Apple.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
public class Apple
extends Fruit
{

@XmlAttribute
final String name;

Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/refs/Basket.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
@XmlRootElement(name = "basket")
public class Basket
{

// @XmlElementWrapper(name = "apples")
// @XmlElement(name = "apple")
@XmlList
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/refs/Fruit.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
@XmlRootElement(name = "fruit")
public abstract class Fruit
{

@XmlID
@XmlAttribute
final String id;
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/refs/Orange.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
public class Orange
extends Fruit
{

@XmlAttribute
final String name;

Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/jaxb/refs/Store.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
@XmlRootElement
public class Store
{

// Containment to define all IDs
@XmlElementWrapper(name = "fruits")
@XmlElementRef
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
public class TestRefs
extends BaseTestCase
{

private JAXBContext jaxbContext;

private final File dir = new File("data/temp/test-refs");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
@XmlRootElement
public class Universe
{

@XmlElement
Store store = new Store();

Expand Down
2 changes: 0 additions & 2 deletions app/src/test/java/org/audiveris/omr/jaxb/table/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
@XmlRootElement(name = "run-table")
public class Table
{

/** Width of the table. */
@XmlAttribute
private final int width;
Expand Down Expand Up @@ -96,7 +95,6 @@ private Table ()
@XmlRootElement(name = "runs")
public static class RunSequence
{

@XmlValue
public short[] vector;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
public class TableTest
extends BaseTestCase
{

private JAXBContext jaxbContext;

private final File dir = new File("data/temp/table");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
public class BasicLineCheck
extends BaseTestCase
{

public static void checkDistanceOf (BasicLine l)
{
print(l);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
public class BasicLineTest
extends BaseTestCase
{

protected static final double[] xx = new double[]
{ 1d, 2d, 3d, 4d, 5d };

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
public class ClusteringTest
{

static java.util.Random random = new java.util.Random(111);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
public class GeometricMomentsTest
extends BaseTestCase
{

private static final int[] xx = new int[]{1, 2, 3, 4, 5};

private static final int[] yy = new int[]{4, 5, 24, 9, 0};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
*/
public class HistogramTest
{

private Set<Integer> keySet;

private Set<Integer> valueSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/
public class ImageUtilTest
{

/**
* Test of dump method, of class TableUtil.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
public class InjectionSolverTest
extends TestCase
{

/**
* Creates a new InjectionSolverTest object.
*
Expand Down Expand Up @@ -69,7 +68,6 @@ protected void tearDown ()
public static class MyDistance
implements InjectionSolver.Distance
{

public MyDistance ()
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
public class NaturalSplineTest
extends BaseTestCase
{

/**
* Creates a new NaturalSplineTest object.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
*/
public class PoorManAlgebraTest
{

private static final Logger logger = LoggerFactory.getLogger(PoorManAlgebraTest.class);

private static final double eps = 0.0001;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
public class PopulationTest
extends BaseTestCase
{

//-----------//
// testEmpty //
//-----------//
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/org/audiveris/omr/math/RationalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*/
public class RationalTest
{

/**
* Creates a new RationalTest object.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
public class ARTExtractorTest
extends MomentsExtractorTest<ARTMoments>
{

/**
* Creates a new ARTExtractorTest object.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
public class LegendreMomentsTest
extends MomentsExtractorTest<LegendreMoments>
{

/**
* Creates a new LegendreMomentsTest object.
*/
Expand Down
Loading

0 comments on commit 0f644a5

Please sign in to comment.