Skip to content

Commit 82e45db

Browse files
reformatted code and updated headerS (#172)
1 parent e213c96 commit 82e45db

File tree

82 files changed

+4164
-3980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4164
-3980
lines changed

Hocon.sln.DotSettings

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">-----------------------------------------------------------------------&#xD;
3+
&lt;copyright file="$FILENAME$" company="Akka.NET Project"&gt;&#xD;
4+
Copyright (C) 2013 - $CURRENT_YEAR$ .NET Foundation &lt;https://github.com/akkadotnet/hocon&gt;&#xD;
5+
&lt;/copyright&gt;&#xD;
6+
-----------------------------------------------------------------------</s:String></wpf:ResourceDictionary>

src/HOCON.Tests/Extensions/IsStringTests.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
// -----------------------------------------------------------------------
2+
// <copyright file="IsStringTests.cs" company="Akka.NET Project">
3+
// Copyright (C) 2013 - 2020 .NET Foundation <https://github.com/akkadotnet/hocon>
4+
// </copyright>
5+
// -----------------------------------------------------------------------
6+
67
using FluentAssertions;
7-
using Hocon.Extensions;
88
using Xunit;
99

1010
namespace Hocon.Tests.Extensions
@@ -35,4 +35,4 @@ public void IsString_should_detect_String_literals()
3535
values["bar"].Type.Should().Be(HoconType.String);
3636
}
3737
}
38-
}
38+
}

src/Hocon.Benchmarks/Configs/HoconBenchmarkConfig.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
#region copyright
1+
// -----------------------------------------------------------------------
2+
// <copyright file="HoconBenchmarkConfig.cs" company="Akka.NET Project">
3+
// Copyright (C) 2013 - 2020 .NET Foundation <https://github.com/akkadotnet/hocon>
4+
// </copyright>
25
// -----------------------------------------------------------------------
3-
// <copyright file="HoconBenchmarkConfig.cs" company="Hocon Project">
4-
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
5-
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/hocon>
6-
// </copyright>
7-
// -----------------------------------------------------------------------
8-
#endregion
96

107
using BenchmarkDotNet.Configs;
118
using BenchmarkDotNet.Diagnosers;

src/Hocon.Benchmarks/Configs/TestConfigStrings.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
#region copyright
1+
// -----------------------------------------------------------------------
2+
// <copyright file="TestConfigStrings.cs" company="Akka.NET Project">
3+
// Copyright (C) 2013 - 2020 .NET Foundation <https://github.com/akkadotnet/hocon>
4+
// </copyright>
25
// -----------------------------------------------------------------------
3-
// <copyright file="TestConfigStrings.cs" company="Hocon Project">
4-
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
5-
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/hocon>
6-
// </copyright>
7-
// -----------------------------------------------------------------------
8-
#endregion
96

107
using System.IO;
118
using System.Reflection;

src/Hocon.Benchmarks/LookupBenchmark.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
#region copyright
1+
// -----------------------------------------------------------------------
2+
// <copyright file="LookupBenchmark.cs" company="Akka.NET Project">
3+
// Copyright (C) 2013 - 2020 .NET Foundation <https://github.com/akkadotnet/hocon>
4+
// </copyright>
25
// -----------------------------------------------------------------------
3-
// <copyright file="LookupBenchmark.cs" company="Hocon Project">
4-
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
5-
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/hocon>
6-
// </copyright>
7-
// -----------------------------------------------------------------------
8-
#endregion
96

107
using System;
118
using BenchmarkDotNet.Attributes;

src/Hocon.Benchmarks/ParserBenchmark.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
#region copyright
1+
// -----------------------------------------------------------------------
2+
// <copyright file="ParserBenchmark.cs" company="Akka.NET Project">
3+
// Copyright (C) 2013 - 2020 .NET Foundation <https://github.com/akkadotnet/hocon>
4+
// </copyright>
25
// -----------------------------------------------------------------------
3-
// <copyright file="ParserBenchmark.cs" company="Hocon Project">
4-
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
5-
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/hocon>
6-
// </copyright>
7-
// -----------------------------------------------------------------------
8-
#endregion
96

107
using BenchmarkDotNet.Attributes;
118
using Hocon.Benchmarks.Configs;

src/Hocon.Benchmarks/Program.cs

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
1-
#region copyright
1+
// -----------------------------------------------------------------------
2+
// <copyright file="Program.cs" company="Akka.NET Project">
3+
// Copyright (C) 2013 - 2020 .NET Foundation <https://github.com/akkadotnet/hocon>
4+
// </copyright>
25
// -----------------------------------------------------------------------
3-
// <copyright file="Program.cs" company="Hocon Project">
4-
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
5-
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/hocon>
6-
// </copyright>
7-
// -----------------------------------------------------------------------
8-
#endregion
96

10-
using System;
117
using System.Reflection;
128
using BenchmarkDotNet.Running;
139

1410
namespace Hocon.Benchmarks
1511
{
16-
class Program
12+
internal class Program
1713
{
18-
static void Main(string[] args)
14+
private static void Main(string[] args)
1915
{
2016
BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).RunAll();
2117
}
2218
}
23-
}
19+
}

src/Hocon.Configuration.Test/App.config

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
23
<configuration>
34
<configSections>
45
<section name="akka" type="Hocon.HoconConfigurationSection, Hocon.Configuration" />
56
</configSections>
67
<appSettings>
7-
<add key="test" value="foo"/>
8+
<add key="test" value="foo" />
89
</appSettings>
910
<akka>
1011
<hocon>

0 commit comments

Comments
 (0)