<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>An attempt to make it more typesafe. I can’t recall if it was successful or not:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$ diff -c /c/x3d-code/www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt CreateX3dSceneAccessInterfaceJava.xslt</p><p class=MsoNormal>*** /c/x3d-code/www.web3d.org/x3d/stylesheets/CreateX3dSceneAccessInterfaceJava.xslt 2017-05-30 02:01:03.795694800 -0400</p><p class=MsoNormal>--- CreateX3dSceneAccessInterfaceJava.xslt 2017-07-20 15:17:27.657379700 -0400</p><p class=MsoNormal>***************</p><p class=MsoNormal>*** 337,343 ****</p><p class=MsoNormal> <xsl:when test="($x3dType = 'MFString')"></p><p class=MsoNormal> <xsl:choose></p><p class=MsoNormal> <xsl:when test="($javadoc='false')"></p><p class=MsoNormal>! <xsl:text disable-output-escaping="yes">new ArrayList<>(Arrays.asList(</xsl:text><!-- ArrayList<> --></p><p class=MsoNormal> </xsl:when></p><p class=MsoNormal> <xsl:otherwise></p><p class=MsoNormal> <xsl:text>new String[] {</xsl:text></p><p class=MsoNormal>--- 337,343 ----</p><p class=MsoNormal> <xsl:when test="($x3dType = 'MFString')"></p><p class=MsoNormal> <xsl:choose></p><p class=MsoNormal> <xsl:when test="($javadoc='false')"></p><p class=MsoNormal>! <xsl:text disable-output-escaping="yes">new ArrayList<String>(Arrays.<String>asList(</xsl:text><!-- ArrayList<> --></p><p class=MsoNormal> </xsl:when></p><p class=MsoNormal> <xsl:otherwise></p><p class=MsoNormal> <xsl:text>new String[] {</xsl:text></p></div></body></html>