From 6af672ff6cace97c6c92a7514a41ac8b7d489ce8 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 22 Jul 2013 17:47:54 +0200 Subject: [PATCH] Added licence header to cc.arduino classes --- app/src/cc/arduino/packages/BoardPort.java | 18 ++++++++++++ app/src/cc/arduino/packages/Discovery.java | 28 +++++++++++++++---- .../cc/arduino/packages/DiscoveryManager.java | 18 ++++++++++++ .../packages/UploaderAndMonitorFactory.java | 18 ++++++++++++ .../discoverers/NetworkDiscovery.java | 18 ++++++++++++ .../packages/discoverers/SerialDiscovery.java | 18 ++++++++++++ .../discoverers/network/NetworkChecker.java | 18 ++++++++++++ .../network/NetworkTopologyListener.java | 18 ++++++++++++ .../packages/uploaders/SSHUploader.java | 18 ++++++++++++ .../arduino/packages/uploaders/ssh/SCP.java | 18 ++++++++++++ .../arduino/packages/uploaders/ssh/SSH.java | 18 ++++++++++++ 11 files changed, 203 insertions(+), 5 deletions(-) diff --git a/app/src/cc/arduino/packages/BoardPort.java b/app/src/cc/arduino/packages/BoardPort.java index 1d79025d7..f1b9e75d0 100644 --- a/app/src/cc/arduino/packages/BoardPort.java +++ b/app/src/cc/arduino/packages/BoardPort.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages; import processing.app.helpers.PreferencesMap; diff --git a/app/src/cc/arduino/packages/Discovery.java b/app/src/cc/arduino/packages/Discovery.java index 17ba91588..fa51b3059 100644 --- a/app/src/cc/arduino/packages/Discovery.java +++ b/app/src/cc/arduino/packages/Discovery.java @@ -1,21 +1,39 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages; -import java.util.List; - import processing.app.helpers.PreferencesMap; +import java.util.List; + public interface Discovery { /** * Set discovery preferences - * + * * @param options */ public void setPreferences(PreferencesMap options); /** * Start discovery service - * + * * @throws Exception */ public void start() throws Exception; @@ -27,7 +45,7 @@ public interface Discovery { /** * Return the list of discovered ports. - * + * * @return */ public List discovery(); diff --git a/app/src/cc/arduino/packages/DiscoveryManager.java b/app/src/cc/arduino/packages/DiscoveryManager.java index 267febeda..5dac161d9 100644 --- a/app/src/cc/arduino/packages/DiscoveryManager.java +++ b/app/src/cc/arduino/packages/DiscoveryManager.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages; import cc.arduino.packages.discoverers.NetworkDiscovery; diff --git a/app/src/cc/arduino/packages/UploaderAndMonitorFactory.java b/app/src/cc/arduino/packages/UploaderAndMonitorFactory.java index 474f3df56..8769a27a8 100644 --- a/app/src/cc/arduino/packages/UploaderAndMonitorFactory.java +++ b/app/src/cc/arduino/packages/UploaderAndMonitorFactory.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages; import cc.arduino.packages.uploaders.SSHUploader; diff --git a/app/src/cc/arduino/packages/discoverers/NetworkDiscovery.java b/app/src/cc/arduino/packages/discoverers/NetworkDiscovery.java index 6cf724277..049b964fc 100644 --- a/app/src/cc/arduino/packages/discoverers/NetworkDiscovery.java +++ b/app/src/cc/arduino/packages/discoverers/NetworkDiscovery.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.discoverers; import cc.arduino.packages.BoardPort; diff --git a/app/src/cc/arduino/packages/discoverers/SerialDiscovery.java b/app/src/cc/arduino/packages/discoverers/SerialDiscovery.java index a411d3221..dafd18e05 100644 --- a/app/src/cc/arduino/packages/discoverers/SerialDiscovery.java +++ b/app/src/cc/arduino/packages/discoverers/SerialDiscovery.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.discoverers; import gnu.io.CommPortIdentifier; diff --git a/app/src/cc/arduino/packages/discoverers/network/NetworkChecker.java b/app/src/cc/arduino/packages/discoverers/network/NetworkChecker.java index 8ee81b7a6..232b30ba7 100644 --- a/app/src/cc/arduino/packages/discoverers/network/NetworkChecker.java +++ b/app/src/cc/arduino/packages/discoverers/network/NetworkChecker.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.discoverers.network; import javax.jmdns.NetworkTopologyDiscovery; diff --git a/app/src/cc/arduino/packages/discoverers/network/NetworkTopologyListener.java b/app/src/cc/arduino/packages/discoverers/network/NetworkTopologyListener.java index 312deccb5..e0f71b8b8 100644 --- a/app/src/cc/arduino/packages/discoverers/network/NetworkTopologyListener.java +++ b/app/src/cc/arduino/packages/discoverers/network/NetworkTopologyListener.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.discoverers.network; import java.net.InetAddress; diff --git a/app/src/cc/arduino/packages/uploaders/SSHUploader.java b/app/src/cc/arduino/packages/uploaders/SSHUploader.java index be835f2b1..607def567 100644 --- a/app/src/cc/arduino/packages/uploaders/SSHUploader.java +++ b/app/src/cc/arduino/packages/uploaders/SSHUploader.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.uploaders; import cc.arduino.packages.Uploader; diff --git a/app/src/cc/arduino/packages/uploaders/ssh/SCP.java b/app/src/cc/arduino/packages/uploaders/ssh/SCP.java index 01df89bd5..568d639bd 100644 --- a/app/src/cc/arduino/packages/uploaders/ssh/SCP.java +++ b/app/src/cc/arduino/packages/uploaders/ssh/SCP.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.uploaders.ssh; import com.jcraft.jsch.Channel; diff --git a/app/src/cc/arduino/packages/uploaders/ssh/SSH.java b/app/src/cc/arduino/packages/uploaders/ssh/SSH.java index 20a616057..7dfaeeb22 100644 --- a/app/src/cc/arduino/packages/uploaders/ssh/SSH.java +++ b/app/src/cc/arduino/packages/uploaders/ssh/SSH.java @@ -1,3 +1,21 @@ +/* + Copyright (c) 2013 Arduino LLC. All right reserved. + + 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 +*/ + package cc.arduino.packages.uploaders.ssh; import com.jcraft.jsch.Channel;