dev guidelines update

This commit is contained in:
zzz
2019-04-13 12:41:21 +00:00
parent 6492a060e1
commit 789985c02e

View File

@@ -1,6 +1,6 @@
{% extends "global/layout.html" %}
{% block title %}{{ _('Developer Guidelines and Coding Style') }}{% endblock %}
{% block lastupdated %}{% trans %}March 2019{% endtrans %}{% endblock %}
{% block lastupdated %}{% trans %}April 2019{% endtrans %}{% endblock %}
{% block content %}
<p>{% trans newdevs=site_url('get-involved/guides/new-developers') -%}
Read the <a href="{{ newdevs }}">new developers guide</a> first.
@@ -165,6 +165,13 @@ as Android and embedded applications require only Java 6. All classes must be av
Java 7 language features are acceptable in these subsystems if supported by the current version
of the Android SDK and they compile to Java 6-compatible code.
{%- endtrans %}</li>
<li>
Try-with-resources cannot be used in embedded subsystems as it requires java.lang.AutoCloseable
in the runtime, and this is not available until Android API 19 (KitKat 4.4).
</li>
<li>
Plugin authors may require any minimum Java version via the plugin.config file.
</li>
<li>{% trans -%}
Explicitly convert between primitive types and classes;
don't rely on autoboxing/unboxing.