public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: swagiaal@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: swagiaal: Removed cast to DynamicMember in CompositeType. Fixed 5426.
Date: Fri, 15 Feb 2008 19:52:00 -0000	[thread overview]
Message-ID: <20080215195201.29868.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  f0e223f4dca0b63d1889f49bf02e30abb4c9af11 (commit)
      from  03abb6e93ea57566aa3b1b505cabc330287895eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit f0e223f4dca0b63d1889f49bf02e30abb4c9af11
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Thu Feb 14 15:17:17 2008 -0500

    swagiaal: Removed cast to DynamicMember in CompositeType. Fixed 5426.
    
    frysk-core/frysk/value/ChangeLog
    +2008-02-14 Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +       * CompositeType.java: Removed cast to DynamicMember.
    +

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/value/ChangeLog          |    4 ++++
 frysk-core/frysk/value/CompositeType.java |   12 ++++++------
 2 files changed, 10 insertions(+), 6 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/value/ChangeLog b/frysk-core/frysk/value/ChangeLog
index 6ad008d..a4718b8 100644
--- a/frysk-core/frysk/value/ChangeLog
+++ b/frysk-core/frysk/value/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-14  Sami Wagiaalla  <swagiaal@.redhat.com>
+
+	* CompositeType.java: Removed cast to DynamicMember.
+
 2008-02-04  Teresa Thomas  <tthomas@redhat.com>
 
 	* Variable.java (printValue): Update.
diff --git a/frysk-core/frysk/value/CompositeType.java b/frysk-core/frysk/value/CompositeType.java
index 49f7048..f0c7722 100644
--- a/frysk-core/frysk/value/CompositeType.java
+++ b/frysk-core/frysk/value/CompositeType.java
@@ -172,8 +172,8 @@ public abstract class CompositeType
     /**
      * Return the composit's members as an array.  PACKAGE PRIVATE.
      */
-    DynamicMember[] members() {
-	DynamicMember[] m = new DynamicMember[members.size()];
+    Member[] members() {
+	Member[] m = new Member[members.size()];
 	members.toArray(m);
 	return m;
     }
@@ -268,7 +268,7 @@ public abstract class CompositeType
 	}
 
 	public String nextName () {
-	    return ((DynamicMember)members.get(idx)).name;
+	    return ((Member)members.get(idx)).name;
 	}
 
 	public Object next () {
@@ -332,11 +332,11 @@ public abstract class CompositeType
 	}
 	// : public PARENT ...
 	boolean first = true;
-	DynamicMember member = null;
+	Member member = null;
 	Iterator i = members.iterator();
 	// Types this inherits come first; print them out.
 	while (i.hasNext()) {
-	    member = (DynamicMember)i.next();
+	    member = (Member)i.next();
 	    if (!member.inheritance)
 		break;
 	    if (first) {
@@ -378,7 +378,7 @@ public abstract class CompositeType
 	    stringBuilder.append(";\n");
 	    // Advance
 	    if (i.hasNext())
-		member = (DynamicMember)i.next();
+		member = (Member)i.next();
 	    else
 		member = null;
 	}


hooks/post-receive
--
frysk system monitor/debugger


                 reply	other threads:[~2008-02-15 19:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080215195201.29868.qmail@sourceware.org \
    --to=swagiaal@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).