Skip to content

Commit

Permalink
revert integration of PR #1071 which wasn't ready
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Apr 22, 2019
1 parent 0bc060d commit 0bf931b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 93 deletions.
26 changes: 5 additions & 21 deletions jme3-core/src/main/java/com/jme3/anim/AnimComposer.java
Expand Up @@ -3,10 +3,7 @@
import com.jme3.anim.tween.Tween;
import com.jme3.anim.tween.Tweens;
import com.jme3.anim.tween.action.*;
import com.jme3.export.InputCapsule;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.export.OutputCapsule;
import com.jme3.export.*;
import com.jme3.renderer.RenderManager;
import com.jme3.renderer.ViewPort;
import com.jme3.scene.control.AbstractControl;
Expand Down Expand Up @@ -209,25 +206,12 @@ public void reset() {
}
}

/**
* Returns an unmodifiable set of all available animations. When an attempt
* is made to modify the set, an UnsupportedOperationException is thrown.
*
* @return the unmodifiable set of animations
*/
public Set<AnimClip> getAnimClips() {
return Collections.unmodifiableSet(new HashSet<>(animClipMap.values()));
public Collection<AnimClip> getAnimClips() {
return Collections.unmodifiableCollection(animClipMap.values());
}

/**
* Returns an unmodifiable set of all available animation names. When an
* attempt is made to modify the set, an UnsupportedOperationException is
* thrown.
*
* @return the unmodifiable set of animation names.
*/
public Set<String> getAnimClipsNames() {
return Collections.unmodifiableSet(animClipMap.keySet());
public Collection<String> getAnimClipsNames() {
return Collections.unmodifiableCollection(animClipMap.keySet());
}

@Override
Expand Down
72 changes: 0 additions & 72 deletions jme3-core/src/test/java/com/jme3/anim/AnimComposerTest.java

This file was deleted.

0 comments on commit 0bf931b

Please sign in to comment.