mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-12 23:30:21 +01:00
fix bugs with empty tracking code
This commit is contained in:
@@ -33,13 +33,16 @@
|
||||
|
||||
package sonia.scm.plugin.rest;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import sonia.scm.plugin.BackendConfiguration;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
import sonia.scm.plugin.BackendConfiguration;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -53,14 +56,14 @@ public class ViewableResource
|
||||
*
|
||||
*
|
||||
* @param context
|
||||
* @param configuration
|
||||
*/
|
||||
public ViewableResource(ServletContext context, BackendConfiguration configuration)
|
||||
public ViewableResource(ServletContext context,
|
||||
BackendConfiguration configuration)
|
||||
{
|
||||
this.contextPath = context.getContextPath();
|
||||
this.configuration = configuration;
|
||||
}
|
||||
|
||||
private BackendConfiguration configuration;
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
@@ -85,6 +88,9 @@ public class ViewableResource
|
||||
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
private BackendConfiguration configuration;
|
||||
|
||||
/** Field description */
|
||||
private String contextPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user