import org.apache.commons.lang3.StringUtils;</BUG>
import net.minecraft.util.ResourceLocation;
public class ContentId {
private final @Nonnull String id;
<BUG>public ContentId(String uri) {
</BUG>
if (StringUtils.contains(uri, "http://"))
<BUG>uri = StringUtils.substring(uri, 7, StringUtils.length(uri));
</BUG>
else if (StringUtils.contains(uri, "https://"))

package com.kamesuta.mc.signpic.entry.content;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.apache.commons.lang3.StringUtils;
import net.minecraft.util.ResourceLocation;
public class ContentId {
private final @Nonnull String id;
public ContentId(@Nonnull String uri) {
if (StringUtils.contains(uri, "http://"))
uri = ""+StringUtils.substring(uri, 7, StringUtils.length(uri));
else if (StringUtils.contains(uri, "https://"))
