Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use dynar instead of dict for storing functions
[simgrid.git] / examples / java / bittorrent / Peer.java
index 32c2d30..f1f10c1 100644 (file)
@@ -1,5 +1,6 @@
 /*
- * Copyright 2006-2012. The SimGrid Team. All rights reserved. 
+ * Copyright (c) 2006-2013. The SimGrid Team.
+ * All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. 
@@ -481,8 +482,7 @@ public class Peer extends Process {
                                                peerChoosed = null;
                                        }
                                        j++;
-                               } while (peerChoosed == null && j < 
-       Common.MAXIMUM_PEERS);
+                               } while (peerChoosed == null && j < Common.MAXIMUM_PEERS);
                        }
                        else {
                                Connection fastest = null;