#fixed code
                              public Map<String, GssFunction> get() {
    return GssFunctions.getFunctionMap();
  }
#vulnerable code 
                              public Map<String, GssFunction> get() {
    return new ImmutableMap.Builder<String, GssFunction>()
        // Arithmetic functions.
        .put("add", new GssFunctions.AddToNumericValue())
        .put("sub", new GssFunctions.SubtractFromNumericValue())
        .put("mult", new GssFunctions.Mult())
        // Not named "div" so it will not be confused with the HTML element.
        .put("divide", new GssFunctions.Div())
        .put("min", new GssFunctions.MinValue())
        .put("max", new GssFunctions.MaxValue())

        // Color functions.
        .put("blendColors", new BlendColors())
        .put("blendColorsRgb", new BlendColorsRGB())
        .put("makeMutedColor", new MakeMutedColor())
        .put("addHsbToCssColor", new AddHsbToCssColor())
        .put("makeContrastingColor", new MakeContrastingColor())
        .put("addToNumericValue", new AddToNumericValue())
        .put("subtractFromNumericValue", new SubtractFromNumericValue())
        .put("adjustBrightness", new AdjustBrightness())

        // Logic functions.
        .put("selectFrom", new SelectFrom())

        .build();
  } 
                            #location 1 
                            #vulnerability type CHECKERS_IMMUTABLE_CAST