Here you can find the source of minifiedJS(String url)
public static String minifiedJS(String url)
//package com.java2s; //License from project: Open Source License public class Main { public static String minifiedJS(String url) { if (url == null || url.isEmpty()) { throw new IllegalArgumentException("URL should not be blank"); }/*from w w w.j a v a2 s. c o m*/ if (url.toLowerCase().endsWith(".min.js")) { return url; } if (url.toLowerCase().startsWith("/resources/")) { return url.replaceAll("\\.js$", ".min.js"); } return url; } }