From eb4ef751e3ad4fd1b8cefcd65eee915507d792b3 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Tue, 5 Jul 2011 19:52:06 +0000 Subject: Bug 259981 - Numerous outdated bundledata/configuration files created in equinox stack --- .../services/datalocation/FileManagerTests.java | 181 +++++++++++++-------- .../services/datalocation/StreamManagerTests.java | 4 +- .../osgi/storagemanager/StorageManager.java | 32 ++-- 3 files changed, 138 insertions(+), 79 deletions(-) diff --git a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/services/datalocation/FileManagerTests.java b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/services/datalocation/FileManagerTests.java index 838bd6943..baf430a83 100644 --- a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/services/datalocation/FileManagerTests.java +++ b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/services/datalocation/FileManagerTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2006 IBM Corporation and others. + * Copyright (c) 2004, 2011 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 @@ -11,7 +11,6 @@ package org.eclipse.osgi.tests.services.datalocation; import java.io.*; - import junit.framework.Test; import junit.framework.TestSuite; import org.eclipse.core.runtime.Platform; @@ -54,15 +53,14 @@ public class FileManagerTests extends OSGiTest { if (file.isDirectory()) { File[] list = file.listFiles(); if (list != null) { - for (int idx=0; idx