users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] [jsr372-experts] Add public API constants for "jsf.js" and "javax.faces"

From: Bauke Scholtz <balusc_at_gmail.com>
Date: Fri, 22 Jul 2016 11:30:23 +0200

Hi,

While working on
https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1404 I noticed the
strings "jsf.js" and "javax.faces" are littered throughout the API and impl.

I propose to make them public API constants in ResourceHandler class like
below.

/**
 * <p class="changed_added_2_3">
 * Resource name of JSF script resource.
 * </p>
 *
 * @since 2.3
 */
public static final String JSF_SCRIPT_RESOURCE_NAME = "jsf.js";


/**
 * <p class="changed_added_2_3">
 * Library name of JSF script resource.
 * </p>
 *
 * @since 2.3
 */
public static final String JSF_SCRIPT_LIBRARY_NAME = "javax.faces";


I created https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1428 on
this. If there are no objections, I will take care of it.

Cheers, B