Skip to content

Commit 6ce6fe0

Browse files
committed
Fixed maven site
1 parent 1973d7e commit 6ce6fe0

File tree

5 files changed

+10
-113
lines changed

5 files changed

+10
-113
lines changed

src/site/markdown/properties.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This feature is activated by the `@DBusBoundProperty` annotation.
2626

2727
Consider the following interface.
2828

29-
```
29+
```java
3030
package com.acme;
3131

3232
import org.freedesktop.dbus.interfaces.DBusInterface;
@@ -214,7 +214,7 @@ and invoke the `Get()`, `GetAll()` or `Set()` methods on that object.
214214

215215
The above example, re-written to use `@DBusProperty`, would look like this.
216216

217-
```
217+
```java
218218
package com.acme;
219219

220220
import org.freedesktop.dbus.interfaces.DBusInterface;

src/site/markdown/remote-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ the interface and call the method. If we use the same interface as we used
55
in the [exporting objects](./exporting-objects.html) example, we come up with
66
the following code:
77

8-
```
8+
```java
99
package com.foo;
1010

1111
import org.freedesktop.dbus.connections.impl.DBusConnection;
@@ -26,7 +26,7 @@ public class RemoteExample {
2626
System.out.println( i.add( 5, 7 ) );
2727
}
2828

29-
public static void main(String[] args ) throws DBusException {
29+
public static void main(String[] _args) throws DBusException {
3030
new RemoteExample();
3131
}
3232

src/site/markdown/using-signals.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ additional required parameters after that.
2121
This constructor must call the super constructor providing all arguments which are part of this signal.
2222

2323
Example:
24-
```
24+
```java
2525
public interface MySignal extends DBusInterface {
2626

2727
class MySignalClass extends DBusSignal {
@@ -51,7 +51,7 @@ A signal handler must implements `DBusSigHandler<?>` interface and can be regist
5151
There are different `addSigHandler` methods depending on the use case.
5252
If you only want to listen for specific signals of a specific remote object, you should use something like:
5353

54-
```
54+
```java
5555
MySignal remoteSignal connection.getRemoteObject("some.bus.name", "/some/object/path", MySignal.class);
5656
connection.addSigHandler(MySignalClass.class, remoteSignal, new MySignalClassHandler());
5757
```
@@ -76,7 +76,7 @@ To allow you to use custom filter criteria, you can use DBusMatchRuleBuilder to
7676

7777
Example:
7878

79-
```
79+
```java
8080
connection.addSigHandler(DBusMatchRuleBuilder.create()
8181
.withPath("/org/test/Introduction")
8282
.withSender("org.my.Sender")
@@ -141,7 +141,7 @@ constructors using primitive array, but also for `Collection`.
141141
This flexibility comes with a small price: If you have multiple constructors with the same argument length and order, but one uses array and one collection, the first constructor listed in your class will be used.
142142

143143
Example:
144-
```
144+
```java
145145
class MySignal extends DBusSignal {
146146
public MySignal(String _objPath, int[] _arr, String _text) {
147147
super(_objectPath, _arr, _text);
@@ -159,7 +159,7 @@ If the order would be inverted, the constructor with `List` would always be call
159159
If you use proper constructor chaining like suggested above, this will not bother you.
160160
The example would then look like this:
161161

162-
```
162+
```java
163163
class MySignal extends DBusSignal {
164164
public MySignal(String _objPath, int[] _arr, String _text) {
165165
this(_objectPath, Arrays.asList(_arr), _text);
@@ -170,5 +170,3 @@ class MySignal extends DBusSignal {
170170
}
171171
}
172172
```
173-
174-

src/site/site.vm

Lines changed: 0 additions & 101 deletions
This file was deleted.

src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<skin>
77
<groupId>org.apache.maven.skins</groupId>
88
<artifactId>maven-fluido-skin</artifactId>
9-
<version>1.10.0</version>
9+
<version>2.1.0</version>
1010
</skin>
1111

1212
<custom>

0 commit comments

Comments
 (0)