1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Makeup-only: fixed some indentation and file headers

This commit is contained in:
Cristian Maglie 2012-01-02 16:45:01 +01:00
parent 5ad4422fc7
commit 8157ebf25a
3 changed files with 129 additions and 87 deletions

View File

@ -1,3 +1,26 @@
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
TargetPackage - Represents a hardware package
Part of the Arduino project - http://www.arduino.cc/
Copyright (c) 2011 Cristian Maglie
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id$
*/
package processing.app.debug; package processing.app.debug;
import java.io.File; import java.io.File;

View File

@ -1,7 +1,6 @@
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/* /*
Target - represents a hardware platform TargetPlatform - Represents a hardware platform
Part of the Arduino project - http://www.arduino.cc/ Part of the Arduino project - http://www.arduino.cc/
Copyright (c) 2009 David A. Mellis Copyright (c) 2009 David A. Mellis
@ -22,7 +21,6 @@
$Id$ $Id$
*/ */
package processing.app.debug; package processing.app.debug;
import java.io.File; import java.io.File;
@ -62,8 +60,7 @@ public class TargetPlatform {
if (platformsFile.exists()) if (platformsFile.exists())
platform.load(platformsFile); platform.load(platformsFile);
} catch (Exception e) { } catch (Exception e) {
System.err.println("Error loading platforms from platform.txt: " System.err.println("Error loading platforms from platform.txt: " + e);
+ e);
} }
try { try {
@ -75,8 +72,7 @@ public class TargetPlatform {
} }
} catch (Exception e) { } catch (Exception e) {
System.err System.err
.println("Error loading programmers from programmers.txt: " .println("Error loading programmers from programmers.txt: " + e);
+ e);
} }
} }

View File

@ -1,3 +1,26 @@
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
StringReplacer - Utility class for expression formatting
Part of the Arduino project - http://www.arduino.cc/
Copyright (c) 2011 Cristian Maglie
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id$
*/
package processing.app.helpers; package processing.app.helpers;
import java.util.ArrayList; import java.util.ArrayList;