1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Package names refactoring: contributions is the main package, libs and cores are subpackages

This commit is contained in:
Federico Fissore
2015-03-17 16:17:50 +01:00
parent fe85083f0b
commit 17d3729426
51 changed files with 125 additions and 130 deletions

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions;
import com.github.zafarkhaja.semver.Version;

View File

@ -26,9 +26,9 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.libraries.contributions;
package cc.arduino.contributions.libraries;
import cc.arduino.packages.contributions.DownloadableContribution;
import cc.arduino.contributions.packages.DownloadableContribution;
import processing.app.I18n;
import java.util.Comparator;

View File

@ -1,6 +1,6 @@
package cc.arduino.libraries.contributions;
package cc.arduino.contributions.libraries;
import cc.arduino.packages.contributions.VersionComparator;
import cc.arduino.contributions.VersionComparator;
import java.util.Comparator;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.libraries.contributions;
package cc.arduino.contributions.libraries;
public abstract class ContributedLibraryReference {

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.libraries.contributions;
package cc.arduino.contributions.libraries;
import java.util.*;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.libraries.contributions;
package cc.arduino.contributions.libraries;
import static processing.app.I18n._;
@ -44,7 +44,6 @@ import processing.app.packages.LegacyUserLibrary;
import processing.app.packages.LibraryList;
import processing.app.packages.UserLibrary;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.mrbean.MrBeanModule;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
public interface ContributedBoard {

View File

@ -26,7 +26,9 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import cc.arduino.contributions.VersionComparator;
import java.util.List;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.util.ArrayList;
import java.util.Collection;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.util.Collection;
import java.util.HashMap;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.io.File;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.util.List;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.util.Collection;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import cc.arduino.utils.ArchiveExtractor;
import cc.arduino.utils.MultiStepProgress;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.util.ArrayList;
import java.util.List;

View File

@ -26,9 +26,8 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.mrbean.MrBeanModule;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.io.File;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import cc.arduino.utils.FileHash;
import cc.arduino.utils.Progress;

View File

@ -26,7 +26,7 @@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*/
package cc.arduino.packages.contributions;
package cc.arduino.contributions.packages;
import java.util.Properties;

View File

@ -1,10 +1,10 @@
package processing.app;
import cc.arduino.libraries.contributions.LibrariesIndexer;
import cc.arduino.contributions.libraries.LibrariesIndexer;
import cc.arduino.packages.DiscoveryManager;
import cc.arduino.packages.Uploader;
import cc.arduino.packages.contributions.ContributedTool;
import cc.arduino.packages.contributions.ContributionsIndexer;
import cc.arduino.contributions.packages.ContributedTool;
import cc.arduino.contributions.packages.ContributionsIndexer;
import cc.arduino.utils.ArchiveExtractor;
import org.apache.commons.logging.impl.LogFactoryImpl;
import org.apache.commons.logging.impl.NoOpLog;

View File

@ -32,7 +32,7 @@ import java.io.File;
import java.util.Arrays;
import java.util.List;
import cc.arduino.libraries.contributions.ContributedLibraryReference;
import cc.arduino.contributions.libraries.ContributedLibraryReference;
public class LegacyUserLibrary extends UserLibrary {

View File

@ -36,8 +36,8 @@ import java.util.List;
import processing.app.helpers.FileUtils;
import processing.app.helpers.PreferencesMap;
import cc.arduino.libraries.contributions.ContributedLibrary;
import cc.arduino.libraries.contributions.ContributedLibraryReference;
import cc.arduino.contributions.libraries.ContributedLibrary;
import cc.arduino.contributions.libraries.ContributedLibraryReference;
public class UserLibrary extends ContributedLibrary {