Author: hqm
Date: 2007-09-28 19:13:33 -0700 (Fri, 28 Sep 2007)
New Revision: 6690
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/ResourceCompiler.java
Log:
Change 20070928-hqm-4 by [EMAIL PROTECTED] on 2007-09-28 22:11:49 EDT
in /cygdrive/c/users/hqm/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: disable compiler warning for duplicate resource name
New Features:
Bugs Fixed: LPP-4615
Technical Reviewer: ptw
QA Reviewer: pkang
Doc Reviewer:
Documentation:
Release Notes:
Details:
remove the warning for duplicated resource, for now.
There are a couple of proposals for adding a flag to resource
declaration which permits overrides explicitly.
This patch is just a temporary solution for now.
Tests:
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/ResourceCompiler.java
===================================================================
---
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/ResourceCompiler.java
2007-09-29 02:05:43 UTC (rev 6689)
+++
openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/ResourceCompiler.java
2007-09-29 02:13:33 UTC (rev 6690)
@@ -114,15 +114,17 @@
, element);
Set resourceNames = mEnv.getResourceNames();
- if (resourceNames.contains(name)) {
+ if (false) {
+ if (resourceNames.contains(name)) {
mEnv.warn(
-/* (non-Javadoc)
- * @i18n.test
- * @org-mes="The resource name '" + p[0] + "' has already been defined"
- */
- org.openlaszlo.i18n.LaszloMessages.getMessage(
- ResourceCompiler.class.getName(),"051018-124", new Object[]
{name})
-, element);
+ // (non-Javadoc)
+ // @i18n.test
+ // @org-mes="The resource name '" + p[0] + "' has
already been defined"
+ //
+ org.openlaszlo.i18n.LaszloMessages.getMessage(
+ ResourceCompiler.class.getName(),"051018-124", new
Object[] {name})
+ , element);
+ }
}
resourceNames.add(name);
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins