Skip to content

Commit

Permalink
standardize the explanations of explicit no-arg constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 27, 2024
1 parent 5a9c1ae commit ee2f4bf
Show file tree
Hide file tree
Showing 58 changed files with 280 additions and 108 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2019-2023, Stephen Gold
Copyright (c) 2019-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -151,8 +151,11 @@ public class DacWizard extends GuiApplication {

/**
* Instantiate the DacWizard application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public DacWizard() { // explicit to avoid a warning from JDK 18 javadoc
public DacWizard() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2023 jMonkeyEngine
* Copyright (c) 2009-2024 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -102,8 +102,11 @@ public class TowerPerformance

/**
* Instantiate the TowerPerformance application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public TowerPerformance() { // to avoid a warning from JDK 18 javadoc
public TowerPerformance() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2018-2023, Stephen Gold
Copyright (c) 2018-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -186,8 +186,11 @@ public class BalanceDemo extends PhysicsDemo {

/**
* Instantiate the BalanceDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public BalanceDemo() { // to avoid a warning from JDK 18 javadoc
public BalanceDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2019-2023, Stephen Gold
Copyright (c) 2019-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -151,8 +151,11 @@ public class BuoyDemo extends PhysicsDemo {

/**
* Instantiate the BuoyDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public BuoyDemo() { // made explicit to avoid a warning from JDK 18 javadoc
public BuoyDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2020-2023, Stephen Gold
Copyright (c) 2020-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -146,8 +146,11 @@ public class ConveyorDemo

/**
* Instantiate the ConveyorDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public ConveyorDemo() { // explicit to avoid a warning from JDK 18 javadoc
public ConveyorDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2018-2023, Stephen Gold
Copyright (c) 2018-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -153,8 +153,11 @@ public class DropTest

/**
* Instantiate the DropTest application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public DropTest() { // made explicit to avoid a warning from JDK 18 javadoc
public DropTest() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2019-2023, Stephen Gold
Copyright (c) 2019-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -93,8 +93,11 @@ public class ForceDemo

/**
* Instantiate the ForceDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public ForceDemo() { // to avoid a warning from JDK 18 javadoc
public ForceDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2019-2023, Stephen Gold
Copyright (c) 2019-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -122,8 +122,11 @@ public class JointDemo extends PhysicsDemo {

/**
* Instantiate the JointDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public JointDemo() { // to avoid a warning from JDK 18 javadoc
public JointDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2020-2023, Stephen Gold
Copyright (c) 2020-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -128,8 +128,11 @@ public class JointElasticity extends PhysicsDemo {

/**
* Instantiate the JointElasticity application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public JointElasticity() { // to avoid a warning from JDK 18 javadoc
public JointElasticity() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2020-2023, Stephen Gold
Copyright (c) 2020-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -111,8 +111,11 @@ public class NewtonsCradle

/**
* Instantiate the NewtonsCradle application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public NewtonsCradle() { // explicit to avoid a warning from JDK 18 javadoc
public NewtonsCradle() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2022-2023, Stephen Gold
Copyright (c) 2022-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -132,8 +132,11 @@ public class Pachinko

/**
* Instantiate the Pachinko application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public Pachinko() { // made explicit to avoid a warning from JDK 18 javadoc
public Pachinko() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2020-2023, Stephen Gold
Copyright (c) 2020-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -142,8 +142,11 @@ public class PoolDemo extends PhysicsDemo {

/**
* Instantiate the PoolDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public PoolDemo() { // made explicit to avoid a warning from JDK 18 javadoc
public PoolDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,11 @@ private enum RopeShape {

/**
* Instantiate the RopeDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public RopeDemo() { // made explicit to avoid a warning from JDK 18 javadoc
public RopeDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2018-2023, Stephen Gold
Copyright (c) 2018-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -173,8 +173,11 @@ public class SeJointDemo extends PhysicsDemo {

/**
* Instantiate the SeJointDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public SeJointDemo() { // explicit to avoid a warning from JDK 18 javadoc
public SeJointDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2020-2023, Stephen Gold
Copyright (c) 2020-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -170,8 +170,11 @@ public class SplitDemo

/**
* Instantiate the SplitDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public SplitDemo() { // made explicit to avoid a warning from JDK 18 javadoc
public SplitDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2022-2023, Stephen Gold
Copyright (c) 2022-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -153,8 +153,11 @@ public class SweepDemo

/**
* Instantiate the SweepDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public SweepDemo() { // made explicit to avoid a warning from JDK 18 javadoc
public SweepDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2020-2023, Stephen Gold
Copyright (c) 2020-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -134,8 +134,11 @@ public class TargetDemo

/**
* Instantiate the TargetDemo application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public TargetDemo() { // explicit to avoid a warning from JDK 18 javadoc
public TargetDemo() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2018-2023, Stephen Gold
Copyright (c) 2018-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -211,8 +211,11 @@ public class TestDac extends PhysicsDemo {

/**
* Instantiate the TestDac application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public TestDac() { // made explicit to avoid a warning from JDK 18 javadoc
public TestDac() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2022-2023, Stephen Gold
Copyright (c) 2022-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -101,8 +101,11 @@ public class TestGearJoint

/**
* Instantiate the TestGearJoint application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public TestGearJoint() { // explicit to avoid a warning from JDK 18 javadoc
public TestGearJoint() {
}
// *************************************************************************
// new methods exposed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2021-2023, Stephen Gold
Copyright (c) 2021-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -91,8 +91,11 @@ public class TestInsideTriangle extends AcorusDemo {

/**
* Instantiate the TestInsideTriangle application.
* <p>
* This no-arg constructor was made explicit to avoid javadoc warnings from
* JDK 18+.
*/
public TestInsideTriangle() { // to avoid a warning from JDK 18 javadoc
public TestInsideTriangle() {
}
// *************************************************************************
// new methods exposed
Expand Down
Loading

0 comments on commit ee2f4bf

Please sign in to comment.