changeset 26886 | 18c744ab4df2 |
parent 26768 | 751b0f427090 |
--- a/nashorn/samples/BufferArray.java Wed Jul 05 20:02:40 2017 +0200 +++ b/nashorn/samples/BufferArray.java Fri Sep 26 18:47:20 2014 +0200 @@ -29,8 +29,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +import java.nio.DoubleBuffer; import jdk.nashorn.api.scripting.AbstractJSObject; -import java.nio.DoubleBuffer; /** * Simple class demonstrating pluggable script object @@ -112,6 +112,8 @@ return true; } }; + default: + break; } return null; }