/*
 * 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.davic.net;

public class Locator implements javax.tv.locator.Locator {
    public Locator(String url) {
        this.url = url;
    }

    public String toString() {
        return url;
    }

    public boolean hasMultipleTransformations() {
        return false;
    }

    public String toExternalForm() {
        return url;
    }

    protected String url;
}

@@ -1089,24 +1089,273 @@
 url;%0A    %7D%0A%0A
+    public boolean equals(Object obj) %7B%0A        if (obj == null %7C%7C !(obj instanceof Locator) %7C%7C url == null)%0A            return false;%0A%0A        Locator locator = (Locator)obj;%0A        return toExternalForm().equals(locator.toExternalForm());%0A    %7D%0A%0A
     protecte

Add equals()