[CVS nanning] fixed bug in attributes with argument type being inner class
Jon Tirsen <[email protected]> Wed, 13 Aug 2003 04:15:12 -0500
| Newsgroups | gmane.comp.java.nanning.devel |
|---|---|
| Message-ID | <200308130915.h7D9FCl32691__1790.8593792983$1060765760@codehaus.org> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>nanning/src/main/org/codehaus/nanning/attribute</tt></b> on <span id="info">MAIN</span></td></tr>
<tr><td><tt><a href="#file1">ClassPropertiesHelper.java</a></tt></td><td align="right" id="added">+2</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">1.1 -> 1.2</td></tr>
</table>
<pre class="comment">
fixed bug in attributes with argument type being inner class
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">nanning/src/main/org/codehaus/nanning/attribute<br /></span>
<div class="fileheader"><big><b>ClassPropertiesHelper.java</b></big> <small id="info">1.1 -> 1.2</small></div>
<pre class="diff"><small id="info">diff -u -r1.1 -r1.2
--- ClassPropertiesHelper.java 4 Jul 2003 10:53:59 -0000 1.1
+++ ClassPropertiesHelper.java 13 Aug 2003 09:15:12 -0000 1.2
@@ -89,7 +89,7 @@
</small></pre><pre class="diff" id="context"> if (targetClassAttributes != null) {
Method method = findMethod(methodSignature);
if (method == null) {
</pre><pre class="diff" id="removed">- throw new AttributeException("Error while loading attributes, could not find method<span id="removedchars">:</span> " +
</pre><pre class="diff" id="added">+ throw new AttributeException("Error while loading attributes, could not find method " +
</pre><pre class="diff" id="context"> methodSignature + " for " + attributeClass);
}
</pre><pre class="diff"><small id="info">@@ -157,6 +157,7 @@
</small></pre><pre class="diff" id="context"> }
String type = parameterType.getName();
type = type.substring(type.lastIndexOf('.') + 1);
</pre><pre class="diff" id="added">+ type = type.substring(type.lastIndexOf('$') + 1);
</pre><pre class="diff" id="context"> stringBuffer.append(type);
if (i + 1 < parameterTypes.length) {
stringBuffer.append(',');
</pre></div>
</body></html>