Skip to content

Commit fa0d377

Browse files
committed
Minor styling, whitespace, and copyright fixes
1 parent b8d7829 commit fa0d377

File tree

5 files changed

+22
-9
lines changed

5 files changed

+22
-9
lines changed

TinCan.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
34
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TinCan", "TinCan\TinCan.csproj", "{27D0FCA1-E869-440C-9D16-F62D7A068C53}"
45
EndProject
56
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TinCanTests", "TinCanTests\TinCanTests.csproj", "{854413C2-2F81-4A82-9949-DE2868A10078}"

TinCan/ActivityDefinition.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ public ActivityDefinition(JObject jobj)
112112
steps.Add(new InteractionComponent(jstep));
113113
}
114114
}
115-
116-
117-
118115
}
119116

120117
public override JObject ToJObject(TCAPIVersion version) {

TinCan/InteractionComponent.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2015 Rustici Software
2+
Copyright 2018 Rustici Software
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -40,10 +40,10 @@ public InteractionComponent(JObject jobj)
4040
{
4141
description = (LanguageMap)jobj.Value<JObject>("description");
4242
}
43-
4443
}
4544

46-
public override JObject ToJObject(TCAPIVersion version) {
45+
public override JObject ToJObject(TCAPIVersion version)
46+
{
4747
JObject result = new JObject();
4848

4949
if (id != null)

TinCanTests/ContextTest.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
using Newtonsoft.Json.Linq;
1+
/*
2+
Copyright 2018 Rustici Software
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
using Newtonsoft.Json.Linq;
217
using NUnit.Framework;
318
using System;
419
using System.Collections.Generic;

TinCanTests/Support.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ static Support () {
6666

6767
for (int i = 1; i <= 2; i++)
6868
{
69-
activity.definition.correctResponsesPattern.Add("choice-" + i.ToString());
70-
}
69+
activity.definition.correctResponsesPattern.Add("choice-" + i.ToString());
70+
}
7171

7272
parent = new Activity();
7373
parent.id = "http://tincanapi.com/TinCanCSharp/Test";

0 commit comments

Comments
 (0)