[libbluray-devel] Remove unused class

hpi1 git at videolan.org
Mon Apr 6 13:59:10 CEST 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Apr  5 20:11:04 2015 +0300| [545f02f52eb3a14f9a30a9483db9370ba6138cf0] | committer: hpi1

Remove unused class

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=545f02f52eb3a14f9a30a9483db9370ba6138cf0
---

 .../bdj/java/org/bluray/ti/PlayItemImpl.java       |    1 +
 .../bdj/java/org/bluray/ti/StreamType.java         |   48 --------------------
 2 files changed, 1 insertion(+), 48 deletions(-)

diff --git a/src/libbluray/bdj/java/org/bluray/ti/PlayItemImpl.java b/src/libbluray/bdj/java/org/bluray/ti/PlayItemImpl.java
index 41b7e6f..cde7c5e 100644
--- a/src/libbluray/bdj/java/org/bluray/ti/PlayItemImpl.java
+++ b/src/libbluray/bdj/java/org/bluray/ti/PlayItemImpl.java
@@ -24,6 +24,7 @@ import java.util.Date;
 import javax.tv.locator.Locator;
 import javax.tv.service.ServiceInformationType;
 import javax.tv.service.navigation.ServiceComponent;
+import javax.tv.service.navigation.StreamType;
 
 import org.bluray.net.BDLocator;
 import org.davic.net.InvalidLocatorException;
diff --git a/src/libbluray/bdj/java/org/bluray/ti/StreamType.java b/src/libbluray/bdj/java/org/bluray/ti/StreamType.java
deleted file mode 100644
index ffba87e..0000000
--- a/src/libbluray/bdj/java/org/bluray/ti/StreamType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * This file is part of libbluray
- * Copyright (C) 2010  William Hahne
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-package org.bluray.ti;
-
-public class StreamType extends javax.tv.service.navigation.StreamType {
-    public StreamType(String name)
-    {
-        super(name);
-        this.name = name;
-    }
-
-    public String toString()
-    {
-        return name;
-    }
-
-    public static final StreamType DOLBY_AC3L_AUDIO = new StreamType(
-            "DOLBY_AC3L_AUDIO");
-    public static final StreamType DTS_AUDIO = new StreamType("DTS_AUDIO");
-    public static final StreamType LPCM_AUDIO = new StreamType("LPCM_AUDIO");
-    public static final StreamType MPEG2_VIDEO = new StreamType("MPEG2_VIDEO");
-    public static final StreamType MPEG4_AVC_VIDEO = new StreamType(
-            "MPEG4_AVC_VIDEO");
-    public static final StreamType PRESENTATION_GRAPHIC = new StreamType(
-            "PRESENTATION_GRAPHIC");
-    public static final StreamType SMPTE_VIDEO = new StreamType("SMPTE_VIDEO");
-    public static final StreamType TEXT_SUBTITLE = new StreamType(
-            "TEXT_SUBTITLE");
-
-    private String name;
-}



More information about the libbluray-devel mailing list