Skip to content

Commit fcf3ccb

Browse files
committed
Fix default encoding in CONTRIBUTING documentation
Sources should be using UTF-8. Issue: SPR-14674 Cherry-picked from: d1f60e3
1 parent 558a10b commit fcf3ccb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,14 @@ present in the framework.
8888
1. Preserve existing formatting; i.e. do not reformat code for its own sake
8989
1. Search the codebase using `git grep` and other tools to discover common
9090
naming conventions, etc.
91-
1. Latin-1 (ISO-8859-1) encoding for Java sources; use `native2ascii` to convert
92-
if necessary
91+
1. UTF-8 encoding for Java sources
9392

9493

9594
### Add Apache license header to all new classes
9695

9796
```java
9897
/*
99-
* Copyright 2002-2015 the original author or authors.
98+
* Copyright 2002-2016 the original author or authors.
10099
*
101100
* Licensed under the Apache License, Version 2.0 (the "License");
102101
* you may not use this file except in compliance with the License.
@@ -124,11 +123,11 @@ modified a file in 2015 whose header still reads:
124123
* Copyright 2002-2011 the original author or authors.
125124
```
126125
127-
Then be sure to update it to 2015 accordingly:
126+
Then be sure to update it to 2016 accordingly:
128127
129128
```java
130129
/*
131-
* Copyright 2002-2015 the original author or authors.
130+
* Copyright 2002-2016 the original author or authors.
132131
```
133132
134133
### Use @since tags for newly-added public API types and methods

0 commit comments

Comments
 (0)