Browse files

This commit was manufactured by cvs2svn to create tag 'v200912071848'.

  • Loading branch information...
1 parent 9fbb38e commit 2af6294ff0ef5b16134c8219f0c0eb79db3ecb4b nitind committed Dec 7, 2009
Showing with 0 additions and 5,554 deletions.
  1. +0 −1 features/org.eclipse.wst.jsdt_tests.feature/.cvsignore
  2. +0 −17 features/org.eclipse.wst.jsdt_tests.feature/.project
  3. +0 −3 features/org.eclipse.wst.jsdt_tests.feature/.settings/org.eclipse.core.resources.prefs
  4. +0 −5 features/org.eclipse.wst.jsdt_tests.feature/build.properties
  5. BIN features/org.eclipse.wst.jsdt_tests.feature/eclipse_update_120.jpg
  6. +0 −328 features/org.eclipse.wst.jsdt_tests.feature/epl-v10.html
  7. +0 −145 features/org.eclipse.wst.jsdt_tests.feature/feature.properties
  8. +0 −44 features/org.eclipse.wst.jsdt_tests.feature/feature.xml
  9. +0 −96 features/org.eclipse.wst.jsdt_tests.feature/license.html
  10. +0 −14 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0530/A.js
  11. +0 −27 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0531/A.js
  12. +0 −27 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0532/A.js
  13. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0533/A.js
  14. +0 −5 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0534/A.js
  15. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0535/A.js
  16. +0 −505 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0536/A.js
  17. +0 −4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/A.js
  18. +0 −4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/B.js
  19. +0 −4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/C.js
  20. +0 −3 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0538/A.js
  21. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0539/A.js
  22. +0 −11 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0541/A.js
  23. +0 −21 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0541/B.js
  24. +0 −14 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0542/A.js
  25. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0543/A.js
  26. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0544/A.js
  27. +0 −12 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/First.js
  28. +0 −11 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Second.js
  29. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Test.js
  30. +0 −9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Third.js
  31. +0 −10 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0546/A.js
  32. +0 −12 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0547/A.js
  33. +0 −16 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0548/PaletteStackEditPart.js
  34. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0549/A.js
  35. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0550/A.js
  36. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0551/A.js
  37. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0552/Test.js
  38. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0553/A.js
  39. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0554/A.js
  40. +0 −9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0554/B.js
  41. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0555/A.js
  42. +0 −9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0555/B.js
  43. +0 −13 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0556/A.js
  44. +0 −18 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0557/A.js
  45. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0559/A.js
  46. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0560/A.js
  47. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0561/A.js
  48. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0562/A.js
  49. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0563/A.js
  50. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0564/A.js
  51. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0565/A.js
  52. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0566/A.js
  53. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0567/A.js
  54. +0 −8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0568/A.js
  55. +0 −19 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0569/A.js
  56. +0 −9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0570/A.js
  57. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/X.js
  58. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/Y.js
  59. +0 −12 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/Z.js
  60. +0 −17 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0574/X.js
  61. +0 −17 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0575/X.js
  62. +0 −51 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0578/X.js
  63. +0 −91 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0579/ParserTask.js
  64. +0 −123 ...lipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0580/DiamondSquareTerrainGenerator.js
  65. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0582/X.js
  66. +0 −9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0595/X.js
  67. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0595a/A.js
  68. +0 −10 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0597/X.js
  69. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0599/X.js
  70. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0600/C.js
  71. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0600/Try.js
  72. +0 −2,890 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0602/X.js
  73. +0 −15 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0603/X.js
  74. +0 −15 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0604/X.js
  75. +0 −16 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0605/X.js
  76. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0606/X.js
  77. +0 −5 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0610/Test.js
  78. +0 −5 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0610/X.js
  79. +0 −6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0619/A.js
  80. +0 −5 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0629/X.js
  81. +0 −7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0630/X.js
  82. +0 −5 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0631/X.js
  83. +0 −9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0653/A.js
  84. +0 −22 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0653/X.js
  85. +0 −3 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0657/A.js
  86. +0 −4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0657/X.js
  87. +0 −7 tests/org.eclipse.wst.jsdt.ui.tests/.classpath
  88. +0 −2 tests/org.eclipse.wst.jsdt.ui.tests/.cvsignore
  89. +0 −28 tests/org.eclipse.wst.jsdt.ui.tests/.project
  90. +0 −22 tests/org.eclipse.wst.jsdt.ui.tests/META-INF/MANIFEST.MF
  91. +0 −28 tests/org.eclipse.wst.jsdt.ui.tests/about.html
  92. +0 −18 tests/org.eclipse.wst.jsdt.ui.tests/build.properties
  93. +0 −16 tests/org.eclipse.wst.jsdt.ui.tests/plugin.properties
  94. +0 −80 tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/EditorTests.java
  95. +0 −58 tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/JSDTUITests.java
  96. +0 −29 tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/internal/Activator.java
  97. +0 −164 ...rg.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/internal/JsStorageEditorInput.java
  98. +0 −117 tests/org.eclipse.wst.jsdt.ui.tests/test.xml
View
1 features/org.eclipse.wst.jsdt_tests.feature/.cvsignore
@@ -1 +0,0 @@
-build.xml
View
17 features/org.eclipse.wst.jsdt_tests.feature/.project
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.jsdt_tests.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
View
3 features/org.eclipse.wst.jsdt_tests.feature/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +0,0 @@
-#Wed Dec 12 03:20:23 EST 2007
-eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
View
5 features/org.eclipse.wst.jsdt_tests.feature/build.properties
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- epl-v10.html,\
- eclipse_update_120.jpg,\
- license.html,\
- feature.properties
View
BIN features/org.eclipse.wst.jsdt_tests.feature/eclipse_update_120.jpg
Deleted file not rendered
View
328 features/org.eclipse.wst.jsdt_tests.feature/epl-v10.html
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html>
View
145 features/org.eclipse.wst.jsdt_tests.feature/feature.properties
@@ -1,145 +0,0 @@
-###############################################################################
-# Copyright (c) 2007 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=JSDT Tests
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse Web Tools Platform
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=JSDT tests
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2000, 2007 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-June 06, 2007\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
- - Common Development and Distribution License (CDDL) Version 1.0 (available at http://www.sun.com/cddl/cddl.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
View
44 features/org.eclipse.wst.jsdt_tests.feature/feature.xml
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.wst.jsdt_tests.feature"
- label="%featureName"
- version="1.2.0.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="license.html">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <plugin
- id="org.eclipse.wst.jsdt.core.tests.compiler"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.jsdt.core.tests.model"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wst.jsdt.ui.tests"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wtp.releng.versionchecker"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.wtp.releng.tests"
- version="0.0.0"/>
-
-</feature>
View
96 features/org.eclipse.wst.jsdt_tests.feature/license.html
@@ -1,96 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>June 06, 2007</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>) </LI>
-
- <li>Common Development and Distribution License (CDDL) Version 1.0 (available at <A
- href="http://www.sun.com/cddl/cddl.html">http://www.sun.com/cddl/cddl.html)</A>
- </LI>
-</UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
View
14 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0530/A.js
@@ -1,14 +0,0 @@
-package test0530;
-
-public class A {
- int field;
- void foo(int i, int k) {
- i= k;
- }
-
- int goo() {
- // offset here
- field= 1;
- return;
- }
-}
View
27 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0531/A.js
@@ -1,27 +0,0 @@
-package test0531;
-
-public class A {
- int field = 4;
- static int i = bar();
-
- {
- System.out.println();
- }
-
- static {
- i = 5;
- }
-
- void foo(int j, int k) {
- j = k;
- }
-
- int goo() {
- field= 1;
- return;
- }
-
- static int bar() {
- return 0;
- }
-}
View
27 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0532/A.js
@@ -1,27 +0,0 @@
-package test0532;
-
-public class A {
- int field = 4;
- static int i = bar();
-
- {
- System.out.println();
- }
-
- static {
- i = 5;
- }
-
- void foo(int j, int k) {
- j = k;
- }
-
- int goo() {
- field= 1;
- return;
- }
-
- static int bar() {
- return 0;
- }
-}
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0533/A.js
@@ -1,7 +0,0 @@
-package test0533;
-import java.util.*;
-public class Test {
- public static void main(String[] args) {
- System.out.println("Hello" + " world")
- }
-}
View
5 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0534/A.js
@@ -1,5 +0,0 @@
-package test0534;
-import java.util.*;
-public class Test {
- public static final String s = "NULL", s2
-}
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0535/A.js
@@ -1,7 +0,0 @@
-package test05;
-import java.util.*;
-public class Test {
- static {
- System.out.println("Hello" + " world")
- }
-}
View
505 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0536/A.js
@@ -1,505 +0,0 @@
-/*
- * Created on Jan 20, 2004
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package test0536;
-
-import java.util.HashMap;
-import java.util.LinkedList;
-
-import SerSolver.SerBranchNode;
-import SerSolver.SerChipExitNode;
-import SerSolver.SerChipGoalNode;
-import SerSolver.SerColor;
-import SerSolver.SerGoalNode;
-import SerSolver.SerNode;
-
-import utilities.*;
-import utilities.Move;
-import utilities.NodeStatistics;
-
-abstract public class A
-{
-
- protected static final int STAGESIZE = 15;
- protected static int globalTargetDistance;
- protected static Move[] moves;
- static HashMap map;
- public static SerNode exitNode;
- static
- {
- globalTargetDistance = 10000;
- exitNode = null;
- moves = new Move[100];
- for (int i = 0; i < 100; i++)
- {
- moves[i] = new Move();
- }
- map = new HashMap(100000);
- }
-
- protected int chips;
- protected SerColor currentKey;
- protected int startIndex;
- protected int moveIndex;
- protected int targetDistance;
- protected LinkedList[] dependencies;
- protected A nextSolver;
- A(int _startIndex)
- {
- dependencies = new LinkedList[5];
- for (int i = 0; i < 5; i++)
- dependencies[i] = new LinkedList();
- startIndex = _startIndex;
- }
- /**
- * @param moveIndex
- * @param moves
- * @param chips
- * @param dependencies
- * @return the best solution for the remainder of the board
- */
- v
- public Solution subSolve(int _moveIndex, int _chips, LinkedList[] _dependencies)
- {
- assert (_moveIndex==startIndex);
- key.set(_dependencies);
- Solution solution = (Solution) map.get(key);
- if (solution == null)
- {
- chips = _chips;
- targetDistance = 10000;
- moveIndex = _moveIndex;
- currentKey = moves[startIndex - 1].node.getKey();
- for (int i = 1; i < 5; i++)
- {
- dependencies[i].clear();
- dependencies[i].addAll(_dependencies[i]);
- }
-
- solution = findSolution();
- Key saveKey = new Key(key);
- map.put(saveKey, solution);
-
- }
- else
- {
- solution.hits++;
- }
- return solution;
- }
-
- /**
- * like the method in the main solution finder but it is
- * only looking for the best end game
- * @param chips
- */
- abstract protected Solution findSolution();
-
- /**
- * @return
- */
- protected boolean pickNode(int index)
- {
- LinkedList list = dependencies[currentKey.getValue()];
- if (list.isEmpty())
- return false;
- else
- {
- SerNode node = (SerNode) list.get(index);
- Move lastMove = moves[moveIndex - 1];
- int distance = NodeStatistics.nodeDistance(lastMove.node, node);
- int cost = distance + lastMove.distance;
- if (cost > targetDistance)
- return false;
- list.remove(index);
- chooseNode(node, index, cost);
- return true;
- }
-
- }
-
- /**
- *
- */
- protected int backoff()
- {
- Move move = moves[--moveIndex];
- if (move.node instanceof SerChipGoalNode)
- {
- chips--;
- }
- if (move.node instanceof SerBranchNode)
- {
- SerNode[] nodes = ((SerBranchNode) move.node).getDependentNodes();
- removeFromStack(nodes[0]);
- removeFromStack(nodes[1]);
- }
- else
- removeFromStack(((SerGoalNode) move.node).getDependentNode());
- currentKey = move.node.getDoor();
- boolean more = reputStack(move.node, move.indexOnStack);
- if (!more)
- return backoff();
- else
- return move.indexOnStack + 1;
- }
-
- /**
- * @param node
- */
- protected void chooseNode(SerNode node, int cameFrom, int distance)
- {
- //NOTE assume already own green key
- // if (node instanceof SerGreenKeyGoalNode)
- // {
- // sawGreen = true;
- // drainGreenQueue();
- // }
- if (node instanceof SerBranchNode)
- {
- SerBranchNode branch = (SerBranchNode) node;
- putStack(branch.getDependentNodes()[0]);
- putStack(branch.getDependentNodes()[1]);
- }
- else
- {
- putStack(((SerGoalNode) node).getDependentNode());
- if (node instanceof SerChipGoalNode)
- {
- chips++;
- }
- }
-
- currentKey = node.getKey();
-
- moves[moveIndex].indexOnStack = cameFrom;
- moves[moveIndex].node = node;
- moves[moveIndex].distance = distance;
- moveIndex++;
- }
- /**
- * @param board
- * @param node
- */
- protected void putStack(SerNode node)
- {
- /* if the last node on a branch is a goal node it doesn't expose any other nodes
- */
- if (node == null)
- return;
- else if (node instanceof SerChipExitNode)
- exitNode = node;
- //NOTE assume already own green key
- // else if (!sawGreen && node instanceof SerChipGoalNode)
- // getDependencies(SerColor.GREEN_LITERAL).add(node);
- else
- dependencies[node.getDoor().getValue()].add(node);
-
- }
- /**
- * @param node
- */
- protected void removeFromStack(SerNode node)
- {
- if (node == null)
- return;
- if (node instanceof SerChipExitNode)
- return;
-
- LinkedList list = dependencies[node.getDoor().getValue()];
- if (!list.remove(node))
- throw new RuntimeException("door not available");
- }
- /**
- * @param node
- * @param i
- * @return
- */
- protected boolean reputStack(SerNode node, int i)
- {
- LinkedList list = dependencies[node.getDoor().getValue()];
- list.add(i, node);
- return list.size() > (i + 1);
- }
- protected void dumpMoves()
- {
- StringBuffer output = new StringBuffer(3000);
- SerNode oldNode = moves[0].node;
- int testDistance = 2;
- for (int i = 1; i < moveIndex; i++)
- {
- SerNode node = moves[i].node;
- int distance = moves[i].distance;
- testDistance += NodeStatistics.nodeDistance(oldNode,node);
- assert(testDistance==distance);
- output.append(
- i
- + "("
- + node.getColumn()
- + ","
- + node.getRow()
- + ") "
- + (2 * distance - 1)
- + "\n");
- oldNode = node;
- }
- System.out.println(output);
-
- }
-}Content-Type: text/plain
-
-/*
- * Created on Jan 20, 2004
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package test0536;
-
-import java.util.HashMap;
-import java.util.LinkedList;
-
-import SerSolver.SerBranchNode;
-import SerSolver.SerChipExitNode;
-import SerSolver.SerChipGoalNode;
-import SerSolver.SerColor;
-import SerSolver.SerGoalNode;
-import SerSolver.SerNode;
-
-import utilities.*;
-import utilities.Move;
-import utilities.NodeStatistics;
-
-abstract public class A
-{
-
- protected static final int STAGESIZE = 15;
- protected static int globalTargetDistance;
- protected static Move[] moves;
- static HashMap map;
- public static SerNode exitNode;
- static
- {
- globalTargetDistance = 10000;
- exitNode = null;
- moves = new Move[100];
- for (int i = 0; i < 100; i++)
- {
- moves[i] = new Move();
- }
- map = new HashMap(100000);
- }
-
- protected int chips;
- protected SerColor currentKey;
- protected int startIndex;
- protected int moveIndex;
- protected int targetDistance;
- protected LinkedList[] dependencies;
- protected A nextSolver;
- A(int _startIndex)
- {
- dependencies = new LinkedList[5];
- for (int i = 0; i < 5; i++)
- dependencies[i] = new LinkedList();
- startIndex = _startIndex;
- }
- /**
- * @param moveIndex
- * @param moves
- * @param chips
- * @param dependencies
- * @return the best solution for the remainder of the board
- */
- v
- public Solution subSolve(int _moveIndex, int _chips, LinkedList[] _dependencies)
- {
- assert (_moveIndex==startIndex);
- key.set(_dependencies);
- Solution solution = (Solution) map.get(key);
- if (solution == null)
- {
- chips = _chips;
- targetDistance = 10000;
- moveIndex = _moveIndex;
- currentKey = moves[startIndex - 1].node.getKey();
- for (int i = 1; i < 5; i++)
- {
- dependencies[i].clear();
- dependencies[i].addAll(_dependencies[i]);
- }
-
- solution = findSolution();
- Key saveKey = new Key(key);
- map.put(saveKey, solution);
-
- }
- else
- {
- solution.hits++;
- }
- return solution;
- }
-
- /**
- * like the method in the main solution finder but it is
- * only looking for the best end game
- * @param chips
- */
- abstract protected Solution findSolution();
-
- /**
- * @return
- */
- protected boolean pickNode(int index)
- {
- LinkedList list = dependencies[currentKey.getValue()];
- if (list.isEmpty())
- return false;
- else
- {
- SerNode node = (SerNode) list.get(index);
- Move lastMove = moves[moveIndex - 1];
- int distance = NodeStatistics.nodeDistance(lastMove.node, node);
- int cost = distance + lastMove.distance;
- if (cost > targetDistance)
- return false;
- list.remove(index);
- chooseNode(node, index, cost);
- return true;
- }
-
- }
-
- /**
- *
- */
- protected int backoff()
- {
- Move move = moves[--moveIndex];
- if (move.node instanceof SerChipGoalNode)
- {
- chips--;
- }
- if (move.node instanceof SerBranchNode)
- {
- SerNode[] nodes = ((SerBranchNode) move.node).getDependentNodes();
- removeFromStack(nodes[0]);
- removeFromStack(nodes[1]);
- }
- else
- removeFromStack(((SerGoalNode) move.node).getDependentNode());
- currentKey = move.node.getDoor();
- boolean more = reputStack(move.node, move.indexOnStack);
- if (!more)
- return backoff();
- else
- return move.indexOnStack + 1;
- }
-
- /**
- * @param node
- */
- protected void chooseNode(SerNode node, int cameFrom, int distance)
- {
- //NOTE assume already own green key
- // if (node instanceof SerGreenKeyGoalNode)
- // {
- // sawGreen = true;
- // drainGreenQueue();
- // }
- if (node instanceof SerBranchNode)
- {
- SerBranchNode branch = (SerBranchNode) node;
- putStack(branch.getDependentNodes()[0]);
- putStack(branch.getDependentNodes()[1]);
- }
- else
- {
- putStack(((SerGoalNode) node).getDependentNode());
- if (node instanceof SerChipGoalNode)
- {
- chips++;
- }
- }
-
- currentKey = node.getKey();
-
- moves[moveIndex].indexOnStack = cameFrom;
- moves[moveIndex].node = node;
- moves[moveIndex].distance = distance;
- moveIndex++;
- }
- /**
- * @param board
- * @param node
- */
- protected void putStack(SerNode node)
- {
- /* if the last node on a branch is a goal node it doesn't expose any other nodes
- */
- if (node == null)
- return;
- else if (node instanceof SerChipExitNode)
- exitNode = node;
- //NOTE assume already own green key
- // else if (!sawGreen && node instanceof SerChipGoalNode)
- // getDependencies(SerColor.GREEN_LITERAL).add(node);
- else
- dependencies[node.getDoor().getValue()].add(node);
-
- }
- /**
- * @param node
- */
- protected void removeFromStack(SerNode node)
- {
- if (node == null)
- return;
- if (node instanceof SerChipExitNode)
- return;
-
- LinkedList list = dependencies[node.getDoor().getValue()];
- if (!list.remove(node))
- throw new RuntimeException("door not available");
- }
- /**
- * @param node
- * @param i
- * @return
- */
- protected boolean reputStack(SerNode node, int i)
- {
- LinkedList list = dependencies[node.getDoor().getValue()];
- list.add(i, node);
- return list.size() > (i + 1);
- }
- protected void dumpMoves()
- {
- StringBuffer output = new StringBuffer(3000);
- SerNode oldNode = moves[0].node;
- int testDistance = 2;
- for (int i = 1; i < moveIndex; i++)
- {
- SerNode node = moves[i].node;
- int distance = moves[i].distance;
- testDistance += NodeStatistics.nodeDistance(oldNode,node);
- assert(testDistance==distance);
- output.append(
- i
- + "("
- + node.getColumn()
- + ","
- + node.getRow()
- + ") "
- + (2 * distance - 1)
- + "\n");
- oldNode = node;
- }
- System.out.println(output);
-
- }
-}
View
4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/A.js
@@ -1,4 +0,0 @@
-package test0537;
-public class A {
- Object clons;
-}
View
4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/B.js
@@ -1,4 +0,0 @@
-package test0537;
-public class B {
- int flals;
-}
View
4 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/C.js
@@ -1,4 +0,0 @@
-package test0537;
-public class C {
- boolean thru;
-}
View
3 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0538/A.js
@@ -1,3 +0,0 @@
-package test0538;
-public class A {
-}
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0539/A.js
@@ -1,7 +0,0 @@
-public class A {
- class Inner {
- }
- void make() {
- new A(){}.new Inner(){/*x*/};
- }
-}
View
11 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0541/A.js
@@ -1,11 +0,0 @@
-package test0541;
-
-class A {
- private int[] tab = new int[] {
- B.CODNIVEL3, B.NOMNIVEL3, B.CODAUTORIZA,
- B.NOMUSRCIA, B.TIPAUTORIZA, B.NOMAUTORIZA,
- B.CODCTOAUTORIZA, B.NOMCTOAUTORIZA, B.CODMON,
- B.NOMMON, B.MCAINH, B.IMPORTEAUTORIZA,
- B.NUMDECIMALES
- };
-}
View
21 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0541/B.js
@@ -1,21 +0,0 @@
-package test0541;
-
-public class B {
- protected static final int NUMSECUK = 0;
- protected static final int CODCIA = 1;
- protected static final int CODNIVEL3 = 2;
- protected static final int NOMNIVEL3 = 3;
- protected static final int CODAUTORIZA = 4;
- protected static final int NOMUSRCIA = 5;
- protected static final int TIPAUTORIZA = 6;
- protected static final int NOMAUTORIZA = 7;
- protected static final int CODCTOAUTORIZA = 8;
- protected static final int NOMCTOAUTORIZA = 9;
- protected static final int IMPORTEAUTORIZA = 10;
- protected static final int CODMON = 11;
- protected static final int NOMMON = 12;
- protected static final int NUMDECIMALES = 13;
- protected static final int CODUSR = 14;
- protected static final int FECACTU = 15;
- protected static final int MCAINH = 16;
-}
View
14 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0542/A.js
@@ -1,14 +0,0 @@
-package test0542;
-
-public class A {
- private static final String STRING_FIELD = "Hello world!";
- private static final boolean BOOLEAN_FIELD = true;
- private static final byte BYTE_FIELD = 1;
- private static final char CHAR_FIELD = '{';
- private static final double DOUBLE_FIELD = 3.1415;
- private static final float FLOAT_FIELD = 3.14159f;
- private static final int INT_FIELD = Integer.MAX_VALUE; //0x7fffffff
- private static final long LONG_FIELD = 34L;
- private static final short SHORT_FIELD = 130;
- private int int_field = Integer.MAX_VALUE; //0x7fffffff
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0543/A.js
@@ -1,8 +0,0 @@
-package test0543;
-
-public class A {
- public static void main(String[] args) {
- Object c = new java.io.PrintStream() {};
- System.out.println(c);
- }
-}
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0544/A.js
@@ -1,7 +0,0 @@
-package test0544;
-
-public abstract class A {
- abstract void foo();
- static A a = new A() {
- };
-}
View
12 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/First.js
@@ -1,12 +0,0 @@
-package test0545;
-
-public class First {
- private static class Test {
- // default constructor
- Test(float f) {
- }
- }
- First() {
- final Test t = new Test(0.0f);
- }
-}
View
11 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Second.js
@@ -1,11 +0,0 @@
-package test0545;
-
-public class Second {
- private static class Test {
- Test(int i) {
- }
- }
- Second() {
- final Test t = new Test(0);
- }
-}
View
6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Test.js
@@ -1,6 +0,0 @@
-package test0545;
-
-public class Test {
- Test(Object o) {
- }
-}
View
9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Third.js
@@ -1,9 +0,0 @@
-package test0545;
-
-public class Third {
- private static class Test {
- }
- Third() {
- final Test t = new Test();
- }
-}
View
10 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0546/A.js
@@ -1,10 +0,0 @@
-package test0546;
-
-interface MyInterface {}
-
-public class A {
- public static void main(String[] args) {
- MyInterface myi = new MyInterface() {};
- myi.toString();
- }
-}
View
12 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0547/A.js
@@ -1,12 +0,0 @@
-package test0547;
-
-public class A {
- public void foo() {
- class Local {
- class LocalMember {
- }
- LocalMember x;
- Vector v;
- }
- }
-}
View
16 ...clipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0548/PaletteStackEditPart.js
@@ -1,16 +0,0 @@
-public class PaletteStackEditPart {
-
-// listen to changes in palette layout.
-private PropertyChangeListener paletteLayoutListener = new PropertyChangeListener() {};
-
-// listen to changes in stack
-private PropertyChangeListener stackListener = new PropertyChangeListener() {
- };
- }
- }
-};
-
-// listen to changes of clickable tool figure
-private ChangeListener clickableListener = new ChangeListener() {};
-
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0549/A.js
@@ -1,8 +0,0 @@
-public class A
-{
- public void broken(}
-{}
-
- public void thereMustSomethingHere()
- {}
-}
View
6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0550/A.js
@@ -1,6 +0,0 @@
-public class A
-{
- public A() { }
- { // <- insert '{' before comment
- public static void main(String[] args) { }
-}
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0551/A.js
@@ -1,7 +0,0 @@
-package test0551;
-
-public class A {
-// some code
-}
-/*
-// some comments
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0552/Test.js
@@ -1,7 +0,0 @@
-package test0552;
-
-public class Test {
- void foo() {
- "aaa".equals("a" + "a" + "a");
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0553/A.js
@@ -1,8 +0,0 @@
-package test0553;
-
-public class A {
- private static final String BUNDLE_NAME = A.getString();
- public static String getString() {
- return "";
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0554/A.js
@@ -1,8 +0,0 @@
-package test0554;
-
-public class A {
- private static final String BUNDLE_NAME = "test.test";//$NON-NLS-1$
- public static String getString(String s) {
- return "";
- }
-}
View
9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0554/B.js
@@ -1,9 +0,0 @@
-package test0554;
-
-import test0554.A;
-
-public class B {
- public static String foo() {
- return A.getString("xx");
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0555/A.js
@@ -1,8 +0,0 @@
-package test0555;
-
-public class A {
- public static final String BUNDLE_NAME = "test.test";//$NON-NLS-1$
- public static String getString(String s) {
- return "";
- }
-}
View
9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0555/B.js
@@ -1,9 +0,0 @@
-package test0555;
-
-import test0555.A;
-
-public class B {
- public static String foo() {
- return A.BUNDLE_NAME;
- }
-}
View
13 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0556/A.js
@@ -1,13 +0,0 @@
-package test0556;
-
-import java.util.Vector;
-
-public class A {
- AA aa;
- void foo() {
- (aa.bar()).size();
- }
-}
-class AA {
- Vector bar() { return new Vector(1); };
-}
View
18 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0557/A.js
@@ -1,18 +0,0 @@
-package test0557;
-
-import java.util.Vector;
-public class A {
- AA aa;
- void foo() {
- (aa.bar()).get(0);
- // comment
- if (true) {
- System.out.println("Hello: " + toString()); //$NON-NLS-1$
- }
- }
-}
-class AA {
- Vector bar() {
- return new Vector(1);
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0559/A.js
@@ -1,8 +0,0 @@
-package test0559;
-
-public class A {
-
- void foo() {
- if( (/*X:press_any_key_b*/ " " /**/).length() > 1 );
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0560/A.js
@@ -1,8 +0,0 @@
-package test0560;
-
-public class A {
-
- void foo() {
- if( (/*X:press_any_key_b*/" ").length() > 1 );
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0561/A.js
@@ -1,8 +0,0 @@
-package test0561;
-
-public class A {
-
- void foo() {
- if( (/*X:press_any_key_b*//**/ " " /**/).length() > 1 );
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0562/A.js
@@ -1,8 +0,0 @@
-package test0562;
-
-public class A {
-
- void foo() {
- if( (/*X:press_any_key_b*//**/" "/**/ /**/ ).length() > 1 );
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0563/A.js
@@ -1,8 +0,0 @@
-package test0563;
-
-public class A {
-
- void foo() {
- if( (/*X:press_any_key_b*//**/new String()/**/ /**/ ).length() > 1 );
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0564/A.js
@@ -1,8 +0,0 @@
-package test0564;
-
-public class A {
-
- void foo() {
- if( ( new String() ).length() > 1 );
- }
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0565/A.js
@@ -1,8 +0,0 @@
-package test0565;
-
-public class A {
-
- void foo() {
- if( ( (/**/ String /**/) new String() /**/ ).length() > 1 );
- }
-}
View
6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0566/A.js
@@ -1,6 +0,0 @@
-package test0566;
-
-public class A {
- public String foo() {
- return "";} //$NON-NLS-1$
-}
View
7 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0567/A.js
@@ -1,7 +0,0 @@
-package test0567;
-
-public class A {
- public String foo() {
- return "";
- } //$NON-NLS-1$
-}
View
8 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0568/A.js
@@ -1,8 +0,0 @@
-package test0568;
-
-public class A {
- public void foo() {
- StringTokenizer tokeniser = new StringTokenizer( "", "" );
- if ( tokeniser.countTokens() = 3 ) {}
- }
-}
View
19 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0569/A.js
@@ -1,19 +0,0 @@
-package test0569;
-
-/**
- * javadoc comment
- */
-public class A {
-
- /**
- * javadoc comment
- */
- public void method() {
- /**
- * not javadoc comment
- */
- System.out.println("println");
- class Local {
- }
- }
-}
View
9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0570/A.js
@@ -1,9 +0,0 @@
-package test0570;
-
-public class A {
-
- public String m(String s) {
- return s + "a" + "abc" + "e" + ("i" + ("i" + "ib2") + "i2") + "c";
- }
-}
-
View
6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/X.js
@@ -1,6 +0,0 @@
-package test0573;
-
-public class X {
-
-}
-
View
6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/Y.js
@@ -1,6 +0,0 @@
-package test0573;
-
-public class Y extends X
-{
-}
-
View
12 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/Z.js
@@ -1,12 +0,0 @@
-package test0573;
-
-public class Z extends Y
-{
- public void foo() {
- this.bar();
- }
- public void bar() throws Exception {
-
- }
-}
-
View
17 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0574/X.js
@@ -1,17 +0,0 @@
-package test0574;
-
-public class X {
- int field;
-
- class Inner {
- int field;
- public void foo() {
- field= 10;
- X.this.field= 11;
- }
- }
-
- public void foo() {
- field= 10;
- }
-}
View
17 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0575/X.js
@@ -1,17 +0,0 @@
-package test0575;
-
-public class X {
- int field;
-
- class Inner {
- int field;
- public void foo() {
- field= 10;
- X.this.field= 11;
- }
- }
-
- public void foo() {
- field= 10;
- }
-}
View
51 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0578/X.js
@@ -1,51 +0,0 @@
-package test0578;
-
-public class X {
-
- static {
- int var1 = 0;
- System.out.println(var1);
- }
-
- {
- int var2 = 0;
- System.out.println(var2);
- }
-
- public int var3;
-
- public void foo() {
- int var4;
- }
-
- public Object bar() {
- return new Object() {
- public void foo2() {
- int var5;
- }
- };
- }
-
- public int bar2() {
- class C {
- int var6;
-
- public void foo3() {
- int var7;
- }
- };
- return new C().var6;
- }
-
- public X() {
- int var8;
- }
-
- public void bar3(int var9) {
- for (int var10 = 0; var10 < 10; var10++) {
- }
- }
-
- public X(Object var11) {
- }
-}
View
91 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0579/ParserTask.js
@@ -1,91 +0,0 @@
-package test0579;
-
-import java.io.BufferedReader;
-import java.io.FileReader;
-import java.util.Iterator;
-import java.util.List;
-
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.Task;
-import org.eclipse.wst.jsdt.core.dom.AST;
-import org.eclipse.wst.jsdt.core.dom.CompilationUnit;
-import org.eclipse.wst.jsdt.core.dom.ImportDeclaration;
-import org.eclipse.wst.jsdt.core.dom.MethodDeclaration;
-import org.eclipse.wst.jsdt.core.dom.Name;
-import org.eclipse.wst.jsdt.core.dom.PackageDeclaration;
-import org.eclipse.wst.jsdt.core.dom.TypeDeclaration;
-
-/**
- *
- */
-public class ParserTask extends Task {
- public void doNothingMethod() {
- //
- int x = 0;
- }
-
- public void execute() throws BuildException {
- try {
- String line = null;
- StringBuffer buffer = new StringBuffer();
-
- /* Read in this source file */
- BufferedReader bufferedReader = new BufferedReader(new FileReader(
- "C:\\Projects5.1\\ParserTask\\src\\ParserTask.java"));
-
- /* Put source file contents into a StringBuffer */
- while ((line = bufferedReader.readLine()) != null) {
- buffer.append(line);
- }
-
- /* Parse the source code */
- CompilationUnit compUnit = AST.parseCompilationUnit(buffer
- .toString().toCharArray());
-
- System.out.println("\nPackage Declaration: ");
- PackageDeclaration packageDecl = compUnit.getPackage();
- System.out.println(packageDecl == null ? "(default)" : packageDecl
- .getName().toString());
-
- System.out.println("\nImports: ");
- List importList = compUnit.imports();
- Iterator itr = importList.iterator();
- while (itr.hasNext()) {
- ImportDeclaration importDecl = (ImportDeclaration) itr.next();
-
- System.out.println(importDecl.getName());
- }
-
- List typeList = compUnit.types();
- itr = typeList.iterator();
- while (itr.hasNext()) {
- TypeDeclaration typeDecl = (TypeDeclaration) itr.next();
-
- System.out.println("\nClass: " + typeDecl.getName());
-
- System.out.print("Superclass: ");
- Name superClassName = typeDecl.getSuperclass();
-
- System.out.println(superClassName == null ? "(none)"
- : superClassName.toString());
-
- MethodDeclaration[] methodDecls = typeDecl.getMethods();
- System.out.println("Methods: ");
-
- for (int i = 0; i < methodDecls.length; i++) {
- System.out.println("\t\t"
- + methodDecls[i].getName().toString());
- }
- }
-
- } catch (Exception e) {
- throw new BuildException(e);
- }
-
- }
-
- void anotherDoNothingMethod() {
- int x = 0;
- }
-
-}
View
123 ...t.jsdt.core.tests.model/workspace/Converter/src/test0580/DiamondSquareTerrainGenerator.js
@@ -1,123 +0,0 @@
-package test0580;
-
-import ecosim.model.DefaultLocationModel;
-import ecosim.model.LocationModel;
-import ecosim.model.MapModel;
-
-
-/**
- * @author Ben Hutchison
- *
- */
-public class DiamondSquareTerrainGenerator implements MapGenerator
-{
- //number of halving recursive subdivisons to cover map
- int _subdivisions;
-
- //both width and height = 2^_subdivisions + 1 (ie square map)
- int _width, _height;
-
- d
-
- LocationModel[][] _map;
-
- /* (non-Javadoc)
- * @see ecosim.model.map.MapGenerator#generateLocation(int, int, ecosim.model.MapModel)
- */
- public LocationModel generateLocation(int i, int j, MapModel mapModel)
- {
-
- // TODO Auto-generated method stub
- return null;
- }
- /* (non-Javadoc)
- * @see ecosim.model.map.MapGenerator#setSize(int, int)
- */
- public void setSize(int width, int height)
- {
- _subdivisions = Math.max(ceilLogBase2(width), ceilLogBase2(height));
-
- //diamond-square alg needs map size == power of 2 plus one; select next suitable size
- _width = powerOf2(_subdivisions) + 1;
- _height = powerOf2(_subdivisions) + 1;
-
- _map = new LocationModel[_width][_height];
-
- generateMap();
- }
-
- void generateMap() {
- int lod = _subdivisions;
- for (int i = 0; i < lod; ++ i) {
- int q = 1 << i, r = 1 << (lod - i), s = r >> 1;
- for (int j = 0; j < divisions; j += r)
- for (int k = 0; k < divisions; k += r)
- diamond (j, k, r, rough);
- if (s > 0)
- for (int j = 0; j <= divisions; j += s)
- for (int k = (j + s) % r; k <= divisions; k += r)
- square (j - s, k - s, r, rough);
- rough *= roughness;
- }
- }
-
- void diamond(int x, int y, int side, double scale) {
- if (side > 1) {
- int half = side / 2;
- double avg = (terrain[x][y] + terrain[x + side][y] +
- terrain[x + side][y + side] + terrain[x][y + side]) * 0.25;
- terrain[x + half][y + half] = avg + rnd () * scale;
- }
-
- }
-
- void square (int x, int y, int side, double scale) {
- int half = side / 2;
- double avg = 0.0, sum = 0.0;
- if (x >= 0)
- { avg += terrain[x][y + half]; sum += 1.0; }
- if (y >= 0)
- { avg += terrain[x + half][y]; sum += 1.0; }
- if (x + side <= divisions)
- { avg += terrain[x + side][y + half]; sum += 1.0; }
- if (y + side <= divisions)
- { avg += terrain[x + half][y + side]; sum += 1.0; }
- terrain[x + half][y + half] = avg / sum + rnd () * scale;
- }
-
-
- public static int ceilLogBase2(int value) {
- if (value <= 1)
- return 0;
- int exponent = 1;
- value--;
- while ((value = value >> 1) != 0)
- exponent++;
- return exponent;
- }
- public static int powerOf2(int exponent) {
- int value = 1;
- while (exponent-- > 0)
- value = value << 1;
- return value;
- }
-
-
- public static void main(String[] args)
- {
- System.out.println("1: "+ceilLogBase2(1));
- System.out.println("2: "+ceilLogBase2(2));
- System.out.println("3: "+ceilLogBase2(3));
- System.out.println("4: "+ceilLogBase2(4));
- System.out.println("5: "+ceilLogBase2(5));
- System.out.println("-3: "+ceilLogBase2(3));
- System.out.println("1024: "+ceilLogBase2(1024));
- System.out.println("1023: "+ceilLogBase2(1023));
- System.out.println("1025: "+ceilLogBase2(1025));
-
- System.out.println("1 "+powerOf2(1));
- System.out.println("2 "+powerOf2(2));
- System.out.println("3 "+powerOf2(3));
- }
-
-}
View
6 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0582/X.js
@@ -1,6 +0,0 @@
-package test0582;
-public class X {
- private int[][][][][] MethodName(int[][] tab) {
- return null;
- }
-}
View
9 tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0595/X.js
@@ -1,9 +0,0 @@