Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add/update copyright notices.
[simgrid.git] / examples / java / bittorrent / Peer.java
index 32c2d30..10fd6c5 100644 (file)
@@ -1,9 +1,9 @@
-/*
- * Copyright 2006-2012. 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. 
- */
+/* Copyright (c) 2006-2014. 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. */
+
 package bittorrent;
 
 import java.util.ArrayList;
@@ -481,8 +481,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;