Skip to content

Commit

Permalink
Add missing Copyright in some files (hyperledger#163)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud J Le Hors <[email protected]>
  • Loading branch information
lehors authored May 19, 2020
1 parent 0396bbd commit 2e3683c
Show file tree
Hide file tree
Showing 29 changed files with 84 additions and 28 deletions.
2 changes: 2 additions & 0 deletions chaincode/fabcar/javascript/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
2 changes: 2 additions & 0 deletions chaincode/fabcar/javascript/lib/fabcar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
4 changes: 3 additions & 1 deletion commercial-paper/organization/digibank/application/buy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
6 changes: 4 additions & 2 deletions commercial-paper/organization/digibank/application/redeem.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

/*
Expand Down Expand Up @@ -100,4 +102,4 @@ main().then(() => {
console.log(e.stack);
process.exit(-1);

});
});
6 changes: 4 additions & 2 deletions commercial-paper/organization/digibank/contract/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';

const cpcontract = require('./lib/papercontract.js');
module.exports.contracts = [cpcontract];
module.exports.contracts = [cpcontract];
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down Expand Up @@ -95,4 +97,4 @@ class State {

}

module.exports = State;
module.exports = State;
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down Expand Up @@ -69,4 +71,4 @@ class StateList {

}

module.exports = StateList;
module.exports = StateList;
4 changes: 3 additions & 1 deletion commercial-paper/organization/digibank/contract/lib/paper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down Expand Up @@ -30,4 +32,4 @@ class PaperList extends StateList {
}


module.exports = PaperList;
module.exports = PaperList;
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
'use strict';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

/*
Expand Down
6 changes: 4 additions & 2 deletions commercial-paper/organization/magnetocorp/contract/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';

const cpcontract = require('./lib/papercontract.js');
module.exports.contracts = [cpcontract];
module.exports.contracts = [cpcontract];
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down Expand Up @@ -95,4 +97,4 @@ class State {

}

module.exports = State;
module.exports = State;
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down Expand Up @@ -69,4 +71,4 @@ class StateList {

}

module.exports = StateList;
module.exports = StateList;
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down Expand Up @@ -30,4 +32,4 @@ class PaperList extends StateList {
}


module.exports = PaperList;
module.exports = PaperList;
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
'use strict';

Expand Down
2 changes: 2 additions & 0 deletions fabcar/javascript/enrollAdmin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
2 changes: 2 additions & 0 deletions fabcar/javascript/invoke.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
2 changes: 2 additions & 0 deletions fabcar/javascript/query.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
2 changes: 2 additions & 0 deletions fabcar/javascript/registerUser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
3 changes: 2 additions & 1 deletion off_chain_data/enrollAdmin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down
3 changes: 2 additions & 1 deletion off_chain_data/registerUser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/

'use strict';
Expand Down

0 comments on commit 2e3683c

Please sign in to comment.