diff options
| author | Bdale Garbee <bdale@gag.com> | 2013-12-19 01:38:40 -0700 | 
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2013-12-19 01:38:40 -0700 | 
| commit | 575bbaf976c5840fd0e308549c45a466fdec1352 (patch) | |
| tree | 11bfb498348bf7687bffc24699c4b1a998988ee4 /altoslib/AltosIgnite.java | |
| parent | b825116df173b77e2cab217a7b76112c742f9279 (diff) | |
| parent | bc3610d8cecbfed40c62d4dcb93fc9a4d2a7c9e3 (diff) | |
Merge branch 'branch-1.3' into debian
Conflicts:
	ChangeLog
	altoslib/AltosRecordMM.java
	altosui/Makefile.am
	altosui/altos-windows.nsi.in
	configure.ac
	debian/changelog
	debian/control
	doc/Makefile
	doc/altusmetrum.xsl
	doc/release-notes-1.2.1.xsl
	doc/release-notes-1.2.xsl
Diffstat (limited to 'altoslib/AltosIgnite.java')
| -rw-r--r-- | altoslib/AltosIgnite.java | 17 | 
1 files changed, 5 insertions, 12 deletions
| diff --git a/altoslib/AltosIgnite.java b/altoslib/AltosIgnite.java index 85905900..fc9599b6 100644 --- a/altoslib/AltosIgnite.java +++ b/altoslib/AltosIgnite.java @@ -15,7 +15,7 @@   * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.   */ -package org.altusmetrum.altoslib_1; +package org.altusmetrum.altoslib_2;  import java.io.*;  import java.util.concurrent.*; @@ -141,7 +141,7 @@ public class AltosIgnite {  		}  	} -	public void fire(int igniter) { +	public void fire(int igniter) throws InterruptedException {  		if (link == null)  			return;  		try { @@ -154,21 +154,14 @@ public class AltosIgnite {  				link.printf("i DoIt drogue\n");  				break;  			} -		} catch (InterruptedException ie) {  		} catch (TimeoutException te) {  		} finally { -			try { -				stop_link(); -			} catch (InterruptedException ie) { -			} +			stop_link();  		}  	} -	public void close() { -		try { -			stop_link(); -		} catch (InterruptedException ie) { -		} +	public void close() throws InterruptedException { +		stop_link();  		link.close();  		link = null;  	} | 
