protect 47 no-arg constructors in the jme3-core library (#1228)

fix-openal-soft-deadlink
Stephen Gold 5 years ago committed by GitHub
parent c73fd99dd6
commit 9d2d393fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jme3-core/src/main/java/com/jme3/anim/AnimClip.java
  2. 2
      jme3-core/src/main/java/com/jme3/anim/Armature.java
  3. 2
      jme3-core/src/main/java/com/jme3/anim/MorphTrack.java
  4. 2
      jme3-core/src/main/java/com/jme3/anim/SkinningControl.java
  5. 2
      jme3-core/src/main/java/com/jme3/animation/Animation.java
  6. 4
      jme3-core/src/main/java/com/jme3/animation/AudioTrack.java
  7. 2
      jme3-core/src/main/java/com/jme3/animation/Bone.java
  8. 2
      jme3-core/src/main/java/com/jme3/animation/BoneTrack.java
  9. 4
      jme3-core/src/main/java/com/jme3/animation/EffectTrack.java
  10. 4
      jme3-core/src/main/java/com/jme3/animation/Pose.java
  11. 6
      jme3-core/src/main/java/com/jme3/animation/PoseTrack.java
  12. 2
      jme3-core/src/main/java/com/jme3/animation/Skeleton.java
  13. 2
      jme3-core/src/main/java/com/jme3/animation/SkeletonControl.java
  14. 2
      jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java
  15. 4
      jme3-core/src/main/java/com/jme3/cinematic/events/AnimationEvent.java
  16. 2
      jme3-core/src/main/java/com/jme3/effect/ParticleEmitter.java
  17. 6
      jme3-core/src/main/java/com/jme3/light/LightList.java
  18. 4
      jme3-core/src/main/java/com/jme3/material/MatParam.java
  19. 4
      jme3-core/src/main/java/com/jme3/material/MatParamOverride.java
  20. 2
      jme3-core/src/main/java/com/jme3/material/MaterialDef.java
  21. 2
      jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
  22. 2
      jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java
  23. 4
      jme3-core/src/main/java/com/jme3/scene/CameraNode.java
  24. 4
      jme3-core/src/main/java/com/jme3/scene/LightNode.java
  25. 4
      jme3-core/src/main/java/com/jme3/scene/VertexBuffer.java
  26. 4
      jme3-core/src/main/java/com/jme3/scene/debug/Arrow.java
  27. 4
      jme3-core/src/main/java/com/jme3/scene/debug/custom/JointShape.java
  28. 4
      jme3-core/src/main/java/com/jme3/scene/instancing/InstancedGeometry.java
  29. 4
      jme3-core/src/main/java/com/jme3/scene/shape/Box.java
  30. 4
      jme3-core/src/main/java/com/jme3/scene/shape/Curve.java
  31. 6
      jme3-core/src/main/java/com/jme3/scene/shape/Cylinder.java
  32. 2
      jme3-core/src/main/java/com/jme3/scene/shape/Dome.java
  33. 4
      jme3-core/src/main/java/com/jme3/scene/shape/Quad.java
  34. 4
      jme3-core/src/main/java/com/jme3/scene/shape/Sphere.java
  35. 4
      jme3-core/src/main/java/com/jme3/scene/shape/StripBox.java
  36. 2
      jme3-core/src/main/java/com/jme3/shadow/DirectionalLightShadowRenderer.java
  37. 4
      jme3-core/src/main/java/com/jme3/shadow/PointLightShadowFilter.java
  38. 2
      jme3-core/src/main/java/com/jme3/shadow/PointLightShadowRenderer.java
  39. 2
      jme3-core/src/main/java/com/jme3/shadow/PssmShadowFilter.java
  40. 4
      jme3-core/src/main/java/com/jme3/shadow/SpotLightShadowFilter.java
  41. 2
      jme3-core/src/main/java/com/jme3/shadow/SpotLightShadowRenderer.java
  42. 4
      jme3-core/src/main/java/com/jme3/ui/Picture.java

@ -16,7 +16,7 @@ public class AnimClip implements JmeCloneable, Savable {
private AnimTrack[] tracks;
public AnimClip() {
protected AnimClip() {
}
public AnimClip(String name) {

@ -28,7 +28,7 @@ public class Armature implements JmeCloneable, Savable {
/**
* Serialization only
*/
public Armature() {
protected Armature() {
}
/**

@ -59,7 +59,7 @@ public class MorphTrack implements AnimTrack<float[]> {
/**
* Serialization-only. Do not use.
*/
public MorphTrack() {
protected MorphTrack() {
}
/**

@ -115,7 +115,7 @@ public class SkinningControl extends AbstractControl implements Cloneable, JmeCl
/**
* Serialization only. Do not use.
*/
public SkinningControl() {
protected SkinningControl() {
}
/**

@ -65,7 +65,7 @@ public class Animation implements Savable, Cloneable, JmeCloneable {
/**
* Serialization-only. Do not use.
*/
public Animation() {
protected Animation() {
}
/**

@ -82,9 +82,9 @@ public class AudioTrack implements ClonableTrack {
}
/**
* default constructor for serialization only
* constructor for serialization only
*/
public AudioTrack() {
protected AudioTrack() {
}
/**

@ -176,7 +176,7 @@ public final class Bone implements Savable, JmeCloneable {
/**
* Serialization only. Do not use.
*/
public Bone() {
protected Bone() {
}
@Override

@ -65,7 +65,7 @@ public final class BoneTrack implements JmeCloneable, Track {
/**
* Serialization-only. Do not use.
*/
public BoneTrack() {
protected BoneTrack() {
}
/**

@ -144,9 +144,9 @@ public class EffectTrack implements ClonableTrack {
}
/**
* default constructor only for serialization
* constructor only for serialization
*/
public EffectTrack() {
protected EffectTrack() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -63,7 +63,7 @@ public final class Pose implements Savable, Cloneable {
/**
* Serialization-only. Do not use.
*/
public Pose()
protected Pose()
{
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -62,7 +62,7 @@ public final class PoseTrack implements Track {
/**
* Serialization-only. Do not use.
*/
public PoseFrame()
protected PoseFrame()
{
}
@ -114,7 +114,7 @@ public final class PoseTrack implements Track {
/**
* Serialization-only. Do not use.
*/
public PoseTrack()
protected PoseTrack()
{
}

@ -121,7 +121,7 @@ public final class Skeleton implements Savable, JmeCloneable {
/**
* Serialization only. Do not use.
*/
public Skeleton() {
protected Skeleton() {
}
@Override

@ -113,7 +113,7 @@ public class SkeletonControl extends AbstractControl implements Cloneable, JmeCl
/**
* Serialization only. Do not use.
*/
public SkeletonControl() {
protected SkeletonControl() {
}
private void switchToHardware() {

@ -105,7 +105,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState {
* Used for serialization creates a cinematic, don't use this constructor
* directly
*/
public Cinematic() {
protected Cinematic() {
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -75,7 +75,7 @@ public class AnimationEvent extends AbstractCinematicEvent {
* used for serialization don't call directly use one of the following
* constructors
*/
public AnimationEvent() {
protected AnimationEvent() {
super();
}

@ -297,7 +297,7 @@ public class ParticleEmitter extends Geometry {
/**
* For serialization only. Do not use.
*/
public ParticleEmitter() {
protected ParticleEmitter() {
super();
setBatchHint(BatchHint.Never);
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -69,9 +69,9 @@ public final class LightList implements Iterable<Light>, Savable, Cloneable, Jme
};
/**
* Default constructor for serialization. Do not use
* constructor for serialization. Do not use
*/
public LightList(){
protected LightList(){
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -66,7 +66,7 @@ public class MatParam implements Savable, Cloneable {
/**
* Serialization only. Do not use.
*/
public MatParam() {
protected MatParam() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2016 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -83,7 +83,7 @@ public final class MatParamOverride extends MatParam {
/**
* Serialization only. Do not use.
*/
public MatParamOverride() {
protected MatParamOverride() {
super();
}

@ -59,7 +59,7 @@ public class MaterialDef{
/**
* Serialization only. Do not use.
*/
public MaterialDef(){
protected MaterialDef(){
}
/**

@ -181,7 +181,7 @@ public class TechniqueDef implements Savable, Cloneable {
/**
* Serialization only. Do not use.
*/
public TechniqueDef() {
protected TechniqueDef() {
shaderLanguages = new EnumMap<Shader.ShaderType, String>(Shader.ShaderType.class);
shaderNames = new EnumMap<Shader.ShaderType, String>(Shader.ShaderType.class);
defineNames = new ArrayList<String>();

@ -99,7 +99,7 @@ public class FilterPostProcessor implements SceneProcessor, Savable {
* Don't use this constructor, use {@link #FilterPostProcessor(AssetManager assetManager)}<br>
* This constructor is used for serialization only
*/
public FilterPostProcessor() {
protected FilterPostProcessor() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -52,7 +52,7 @@ public class CameraNode extends Node {
/**
* Serialization only. Do not use.
*/
public CameraNode() {
protected CameraNode() {
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -52,7 +52,7 @@ public class LightNode extends Node {
/**
* Serialization only. Do not use.
*/
public LightNode() {
protected LightNode() {
}
public LightNode(String name, Light light) {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -382,7 +382,7 @@ public class VertexBuffer extends NativeObject implements Savable, Cloneable {
/**
* Serialization only. Do not use.
*/
public VertexBuffer(){
protected VertexBuffer(){
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -62,7 +62,7 @@ public class Arrow extends Mesh {
/**
* Serialization only. Do not use.
*/
public Arrow() {
protected Arrow() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2010 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -42,7 +42,7 @@ public class JointShape extends Mesh {
/**
* Serialization only. Do not use.
*/
public JointShape() {
protected JointShape() {
float width = 1;
float height = 1;
setBuffer(Type.Position, 3, new float[]{-width * 0.5f, -width * 0.5f, 0,

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -67,7 +67,7 @@ public class InstancedGeometry extends Geometry {
/**
* Serialization only. Do not use.
*/
public InstancedGeometry() {
protected InstancedGeometry() {
super();
setIgnoreTransform(true);
setBatchHint(BatchHint.Never);

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -130,7 +130,7 @@ public class Box extends AbstractBox {
/**
* Empty constructor for serialization only. Do not use.
*/
public Box(){
protected Box(){
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -55,7 +55,7 @@ public class Curve extends Mesh {
/**
* Serialization only. Do not use.
*/
public Curve() {
protected Curve() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -64,9 +64,9 @@ public class Cylinder extends Mesh {
private boolean inverted;
/**
* Default constructor for serialization only. Do not use.
* constructor for serialization only. Do not use.
*/
public Cylinder() {
protected Cylinder() {
}
/**

@ -66,7 +66,7 @@ public class Dome extends Mesh {
/**
* Serialization only. Do not use.
*/
public Dome() {
protected Dome() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2010 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -56,7 +56,7 @@ public class Quad extends Mesh {
/**
* Serialization only. Do not use.
*/
public Quad(){
protected Quad(){
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -84,7 +84,7 @@ public class Sphere extends Mesh {
/**
* Serialization only. Do not use.
*/
public Sphere() {
protected Sphere() {
}
/**

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -124,7 +124,7 @@ public class StripBox extends AbstractBox {
/**
* Empty constructor for serialization only. Do not use.
*/
public StripBox(){
protected StripBox(){
super();
}

@ -77,7 +77,7 @@ public class DirectionalLightShadowRenderer extends AbstractShadowRenderer {
* DirectionalLightShadowRenderer#DirectionalLightShadowRenderer(AssetManager
* assetManager, int shadowMapSize, int nbSplits)
*/
public DirectionalLightShadowRenderer() {
protected DirectionalLightShadowRenderer() {
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -62,7 +62,7 @@ public class PointLightShadowFilter extends AbstractShadowFilter<PointLightShado
* assetManager, int shadowMapSize)
* instead.
*/
public PointLightShadowFilter() {
protected PointLightShadowFilter() {
super();
}

@ -68,7 +68,7 @@ public class PointLightShadowRenderer extends AbstractShadowRenderer {
* assetManager, int shadowMapSize)
* instead.
*/
public PointLightShadowRenderer() {
protected PointLightShadowRenderer() {
super();
}

@ -75,7 +75,7 @@ public class PssmShadowFilter extends Filter {
* assetManager, int size, int nbSplits)
* instead.
*/
public PssmShadowFilter() {
protected PssmShadowFilter() {
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -62,7 +62,7 @@ public class SpotLightShadowFilter extends AbstractShadowFilter<SpotLightShadowR
* int shadowMapSize)
* instead.
*/
public SpotLightShadowFilter() {
protected SpotLightShadowFilter() {
super();
}

@ -73,7 +73,7 @@ public class SpotLightShadowRenderer extends AbstractShadowRenderer {
/**
* Used for serialization use SpotLightShadowRenderer#SpotLightShadowRenderer(AssetManager assetManager, int shadowMapSize)
*/
public SpotLightShadowRenderer() {
protected SpotLightShadowRenderer() {
super();
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -83,7 +83,7 @@ public class Picture extends Geometry {
/*
* Serialization only. Do not use.
*/
public Picture(){
protected Picture(){
}
/**

Loading…
Cancel
Save