public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Delete unused Proc.retain(Task).
Date: Fri, 14 Mar 2008 21:22:00 -0000	[thread overview]
Message-ID: <20080314212243.20363.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  f593910d5f20dd4960379ae581b4cf320467c153 (commit)
      from  710ede96339be6993d5d94043672258e1a5b24eb (commit)

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

- Log -----------------------------------------------------------------
commit f593910d5f20dd4960379ae581b4cf320467c153
Author: Andrew Cagney <cagney@redhat.com>
Date:   Fri Mar 14 17:21:29 2008 -0400

    Delete unused Proc.retain(Task).
    
    frysk-core/frysk/proc/ChangeLog
    2008-03-14  Andrew Cagney  <cagney@redhat.com>
    
    	* Proc.java (retain(Task)): Delete.

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

Summary of changes:
 frysk-core/frysk/proc/ChangeLog |    2 ++
 frysk-core/frysk/proc/Proc.java |   13 -------------
 2 files changed, 2 insertions(+), 13 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog
index 4fba145..c4bd5df 100644
--- a/frysk-core/frysk/proc/ChangeLog
+++ b/frysk-core/frysk/proc/ChangeLog
@@ -1,5 +1,7 @@
 2008-03-14  Andrew Cagney  <cagney@redhat.com>
 
+	* Proc.java (retain(Task)): Delete.
+	
 	* Host.java (taskPool): Delete.
 	(add(Task)): Delete.
 	(remove(Task)): Delete.
diff --git a/frysk-core/frysk/proc/Proc.java b/frysk-core/frysk/proc/Proc.java
index 9216eb1..32cb090 100644
--- a/frysk-core/frysk/proc/Proc.java
+++ b/frysk-core/frysk/proc/Proc.java
@@ -341,19 +341,6 @@ public abstract class Proc implements Comparable {
     }
 
     /**
-     * Remove all but Task from this Proc.
-     *
-     * XXX: Should not be public.
-     */
-    public void retain(Task task) {
-	fine.log(this, "retain(Task) -- remove all but task");
-	HashMap new_tasks = new HashMap();
-	new_tasks = (HashMap) ((HashMap) taskPool).clone();
-	new_tasks.values().remove(task);
-	taskPool.values().removeAll(new_tasks.values());
-    }
-
-    /**
      * Return this Proc's Task's as a list.
      */
     public LinkedList getTasks() {


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


                 reply	other threads:[~2008-03-14 21:22 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=20080314212243.20363.qmail@sourceware.org \
    --to=cagney@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).